/* 
    Created on : 10.10. 2025
    Author     : SJ
*/

/* Font */
/* Raleway and Open Sans (for numbers) */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Raleway:ital,wght@0,400;0,500;0,600;0,800;1,400;1,500;1,600;1,800&display=swap");

/* Global container */
.container-custom {
  width: 100%;
  max-width: 1600px; /* maksimalna širina */
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  padding-left: 15px;
  padding-right: 15px;
}

/* General */
body {
  font-family: "Raleway", sans-serif !important;
  font-size: 0.875rem;
  font-weight: 400;
}

img {
  max-width: 100%;
  height: auto;
}

strong {
  font-weight: 600;
}

.font-number {
  font-family: "Open Sans", sans-serif;
}

/* Focus disable dotted box on focus */
a:focus,
button:focus,
.btn:focus,
.form-control:focus,
.form-check-input:focus,
.form-select:focus,
.choices__inner:focus,
.is-focused .choices__inner,
.is-open .choices__inner,
.choices__input,
.choices__input:focus {
  outline: none !important;
  box-shadow: none !important;
}

.btn,
.btn:hover,
.btn:focus {
  border: 0 none;
}

a {
  text-underline-offset: 0.188rem;
}

a.disabled,
a:disabled,
.btn.disabled,
.btn:disabled {
  pointer-events: unset;
  cursor: not-allowed;
}

a.disabled:hover,
a:disabled:hover,
.btn.disabled:hover,
.btn:disabled:hover {
  opacity: 0.65;
}

/* HTML */
html {
  height: 100%;
  position: relative;
}

/* Breadcrumb */
.breadcrumb {
  margin-bottom: 0.5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  position: relative;
  top: 0.188rem;
  width: 1.438rem;
  height: auto;
}

.breadcrumb-item a {
  text-decoration: none;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

/* Form */
/* Remove Arrows/Spinners */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

.form-group {
  position: relative;
  margin-bottom: 1.875rem;
}

.form-group label {
  font-weight: 600;
  padding-left: 0.75em;
  margin-bottom: 0.25rem;
}

.form-control {
  height: 3.125rem;
  font-size: 0.875rem;
  -webkit-border-radius: 0.5rem;
  -moz-border-radius: 0.5rem;
  border-radius: 0.5rem;
}

.form-control.input-with-icon {
  padding: 0 0.75rem 0 3rem;
  border: 0 none;
}

.invalid-feedback {
  padding-left: 0.75rem;
}

.form-check .form-check-input {
  flex-shrink: 0;
  width: 1.5em;
  height: 1.5em;
  margin-top: 0;
  margin-right: 0;
  cursor: pointer;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}

.form-check .form-check-label {
  cursor: pointer;
  padding-left: 1rem;
}

textarea.form-control.height-10 {
  min-height: calc(10em + (0.75rem + 2px));
}

/* Select */
.form-select {
  height: 3.125rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}

/* Titles */
h1 {
  font-size: 1.875rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
}

h3 {
  margin-bottom: 0.3rem !important;
}

h2 {
  margin-bottom: 0.3rem !important;
}

/* Links */
a.item-link {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

/* Badges */
.badge.badge-notification {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 100%;
  width: 1.25rem;
  height: 1.25rem;
  padding: 0;
  font-size: 0.875em;
  line-height: unset;
  z-index: 1;
  -webkit-transform: translate(-50%, -25%);
  -moz-transform: translate(-50%, -25%);
  -ms-transform: translate(-50%, -25%);
  -o-transform: translate(-50%, -25%);
  transform: translate(-50%, -25%);
}

.badge.badge-notification-dot {
  position: absolute;
  top: 0;
  width: 0.625rem;
  height: 0.625rem;
  padding: 0;
  z-index: 1;
  -webkit-transform: translate(50%, 50%);
  -moz-transform: translate(50%, 50%);
  -ms-transform: translate(50%, 50%);
  -o-transform: translate(50%, 50%);
  transform: translate(50%, 50%);
}

/* a */
a:hover {
  text-decoration: none;
}

/* Buttons */

/* Opacity 0.8 */
.btn:hover,
.custom-modal .modal-header .btn-close:hover,
.toast .btn-close:hover {
  opacity: 0.8;
}

/* Opacity 1 */
.btn-link:hover {
  opacity: 1;
  text-decoration: none;
}

.btn {
  font-size: 1rem;
  font-weight: 400;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.btn-show-more:hover {
  transform: translateY(4px) scale(1.02);
}

section.section-testimonials {
  margin-bottom: 40px;
}

.btn-link {
  text-underline-offset: 0.188rem;
}

/* Button Square 40 */
.btn-square-40 {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  padding: 0 2.5rem;
  -webkit-border-radius: 0.5rem;
  -moz-border-radius: 0.5rem;
  border-radius: 0.5rem;
}

/* Button Square 50 */
.btn-square-50 {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3.125rem;
  padding: 0 2.5rem;
  -webkit-border-radius: 0.5rem;
  -moz-border-radius: 0.5rem;
  border-radius: 0.5rem;
}

/* Button Square 60 */
.btn-square-60 {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3.75rem;
  padding: 0 2.5rem;
  -webkit-border-radius: 0.5rem;
  -moz-border-radius: 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.825rem;
}

/* Button Pill 30 */
.btn-pill-30 {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.875rem;
  padding: 0 2rem;
  font-size: 0.75rem;
  -webkit-border-radius: 1.563rem;
  -moz-border-radius: 1.563rem;
  border-radius: 1.563rem;
}

/* Button Pill 36 */
.btn-pill-36 {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.25rem;
  padding: 0 2rem;
  font-size: 0.875rem;
  -webkit-border-radius: 1.563rem;
  -moz-border-radius: 1.563rem;
  border-radius: 1.563rem;
}

/* Button Pill 40 */
.btn-pill-40 {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  padding: 0 2rem;
  font-size: 0.875rem;
  -webkit-border-radius: 1.563rem;
  -moz-border-radius: 1.563rem;
  border-radius: 1.563rem;
}

.btn-pill-40 svg {
  width: auto;
  height: 0.875rem;
  margin-right: 0.5rem;
}

/* Button Pill 45 */
.btn-pill-45 {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.813rem;
  padding: 0 2rem;
  font-size: 0.875rem;
  -webkit-border-radius: 1.563rem;
  -moz-border-radius: 1.563rem;
  border-radius: 1.563rem;
}

.btn-pill-45 svg {
  width: auto;
  height: 0.875rem;
  margin-right: 0.5rem;
}

/* Button Icon With Text */
.btn-icon-with-text-40 {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  height: 2.5rem;
  padding: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}

.btn-icon-with-text-40 .icon-holder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.875rem;
  height: 1.875rem;
  margin-right: 0.625rem;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.btn-icon-with-text-40 .icon-holder svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Dropdown */
.dropdown-toggle-no-caret:after {
  display: none;
}

.dropdown-toggle {
  position: relative;
}

.dropdown-toggle svg {
  position: absolute;
  top: 50%;
  width: 0.625rem;
  height: 0.625rem;
  -webkit-transform: translateY(-50%) rotate(0deg);
  -moz-transform: translateY(-50%) rotate(0deg);
  -ms-transform: translateY(-50%) rotate(0deg);
  -o-transform: translateY(-50%) rotate(0deg);
  transform: translateY(-50%) rotate(0deg);
  -webkit-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}

.dropdown-toggle.show svg {
  -webkit-transform: translateY(-50%) rotate(180deg);
  -moz-transform: translateY(-50%) rotate(180deg);
  -ms-transform: translateY(-50%) rotate(180deg);
  -o-transform: translateY(-50%) rotate(180deg);
  transform: translateY(-50%) rotate(180deg);
}

.dropdown-toggle.no-transform svg {
  position: relative;
  right: auto;
  top: auto;
  -webkit-transform: none;
  -moz-transform: none;
  -ms-transform: none;
  -o-transform: none;
  transform: none;
}

.dropdown-toggle.no-transform.show svg {
  -webkit-transform: none;
  -moz-transform: none;
  -ms-transform: none;
  -o-transform: none;
  transform: none;
}

.dropdown-toggle .icon-holder {
  position: relative;
  display: flex;
  align-items: center;
  height: 2.5rem;
  margin-right: 0.938rem;
}

.dropdown-toggle .icon-holder svg {
  position: relative;
  top: 0;
  right: 0;
  width: 1.25rem;
  height: auto;
  -webkit-transform: none;
  -moz-transform: none;
  -ms-transform: none;
  -o-transform: none;
  transform: none;
}

.dropdown-menu.dropdown-xl {
  min-width: 20rem;
  max-width: 20rem;
}

.dropdown-menu.dropdown-lg {
  min-width: 16.25rem;
  max-width: 16.25rem;
}

.dropdown-menu {
  font-size: 0.875rem;
  border: 0 none;
  -webkit-box-shadow: 0 0 1.25rem 0 rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 0 1.25rem 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 1.25rem 0 rgba(0, 0, 0, 0.1);
  -webkit-border-radius: 0.625rem;
  -moz-border-radius: 0.625rem;
  border-radius: 0.625rem;
}

.dropdown-item {
  padding: 0.625rem 1rem;
  white-space: normal;
}

.dropdown-item:hover,
.dropdown-item:focus {
  text-decoration: none;
}

.dropdown-divider {
  opacity: 1;
}

/* Dropdown Custom */
.dropdown-custom .dropdown-header {
  padding: 0 1rem;
}

.dropdown-custom .dropdown-header a {
  display: flex;
  justify-content: flex-start;
  padding: 0.625rem 1rem;
  align-items: center;
  font-weight: 600;
  text-transform: uppercase;
  -webkit-border-radius: 0.25rem;
  -moz-border-radius: 0.25rem;
  border-radius: 0.25rem;
}

.dropdown-custom .dropdown-header a,
.dropdown-custom .dropdown-header a:hover,
.dropdown-custom .dropdown-header a:focus {
  text-decoration: none;
}

.dropdown-custom .dropdown-header a svg {
  width: 1.563rem;
  height: 1.563rem;
  margin-right: 0.625rem;
}

.dropdown-custom .dropdown-content {
  padding: 1rem;
}

.dropdown-custom .dropdown-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  -webkit-border-radius: 0.25rem;
  -moz-border-radius: 0.25rem;
  border-radius: 0.25rem;
}

.dropdown-custom .dropdown-item svg {
  width: auto;
  height: 0.875rem;
  margin-right: 0.625rem;
}

.dropdown-custom .dropdown-item.logout,
.dropdown-custom .dropdown-item.login {
  font-weight: 600;
}

.dropdown-custom .dropdown-item.top-lista {
  font-weight: 600;
}

/* Toast */
.toast-container {
  position: fixed;
  padding: 0 0.75rem;
  top: 7.25rem;
  right: 3rem;
  z-index: 1051;
}

.toast:not(.showing):not(.show) {
  opacity: 0;
  visibility: hidden;
}

.toast {
  position: relative;
  width: 750px;
  border: 0 none;
  padding: 10px 90px 10px 22px;
  -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  opacity: 1;
  visibility: visible;
}

.toast .toast-body {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  flex-basis: 100%;
  padding: 12px 15px;
}

.toast .toast-content {
  display: flex;
  flex-wrap: wrap;
  padding-left: 55px;
}

.toast .toast-border {
  width: 6px;
  min-width: 6px;
  -webkit-border-radius: 0.25rem;
  -moz-border-radius: 0.25rem;
  border-radius: 0.25rem;
}

.toast .toast-icon {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}

.toast .toast-icon svg {
  width: auto;
  height: 20px;
}

.toast h3 {
  width: 100%;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0;
}

.toast p {
  width: 100%;
  margin-bottom: 0;
}

.toast a {
  font-weight: 600;
}

.toast ul {
  padding-left: 0;
  margin-bottom: 0;
}

.toast ul li {
  list-style: none;
}

.toast .svg-deco {
  width: auto;
  height: 30px;
  position: absolute;
  top: 50%;
  right: 90px;
  -webkit-transform: translateY(-50%) rotate(25deg);
  -moz-transform: translateY(-50%) rotate(25deg);
  -ms-transform: translateY(-50%) rotate(25deg);
  -o-transform: translateY(-50%) rotate(25deg);
  transform: translateY(-50%) rotate(25deg);
}

.toast .btn-close {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
  width: 45px;
  height: 45px;
  position: absolute;
  top: 50%;
  right: 22px;
  text-transform: uppercase;
  background-image: none;
  opacity: 1;
  z-index: 2;
  box-sizing: border-box;
  -webkit-border-radius: 0.25rem;
  -moz-border-radius: 0.25rem;
  border-radius: 0.25rem;
  border: 0;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.toast .btn-close svg {
  width: 12px;
  height: auto;
}

/* Modal */
.custom-modal .modal-content {
  border: 0 none;
  -webkit-box-shadow: 0 0 1.25rem 0 rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 0 1.25rem 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 1.25rem 0 rgba(0, 0, 0, 0.1);
}

.custom-modal .modal-header {
  position: relative;
  justify-content: flex-start;
  flex-wrap: wrap;
  border-bottom: 0 none;
  padding: 1.25rem 5rem 1.25rem 1.25rem;
}

.custom-modal .modal-header .btn-close {
  position: absolute;
  top: 50%;
  right: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
  width: 2.5rem;
  height: 2.5rem;
  background-image: none;
  opacity: 1;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.custom-modal .modal-header .btn-close svg {
  width: 0.75rem;
  height: auto;
}

.custom-modal .modal-header .modal-title {
  position: relative;
  font-size: 1.25rem;
  font-weight: 600;
  width: 100%;
}

.custom-modal .modal-body {
  padding: 1.875rem 1.25rem 0 1.25rem;
}

.custom-modal .modal-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border-top: 0 none;
  padding: 1.25rem;
  z-index: 1;
}

.custom-modal .modal-footer .btn {
  font-size: 1rem;
  text-transform: uppercase;
  margin: 0;
}

.custom-modal .modal-footer .btn:not(:last-child) {
  margin-right: 1rem;
}

.custom-modal .modal-footer .btn.large-btn {
  width: 20rem;
}

/* Offcanvas */
.offcanvas {
  border: 0 none !important;
  -webkit-box-shadow: 0 0 1.25rem 0 rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 0 1.25rem 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 1.25rem 0 rgba(0, 0, 0, 0.1);
}

.modal-backdrop,
.modal-backdrop.show,
.offcanvas-backdrop.show {
  opacity: unset;
}

.modal-backdrop,
.modal-backdrop.show,
.my-backdrop,
.offcanvas-backdrop {
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.offcanvas-header {
  position: relative;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  padding: 1rem 4.5rem 1rem 1.5rem;
  min-height: 5rem;
}

.offcanvas-header h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0;
  width: 100%;
}

.offcanvas .offcanvas-header .btn-close {
  position: absolute;
  top: 50%;
  right: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
  width: 2.25rem;
  height: 2.25rem;
  background-image: none;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  opacity: 1;
}

.offcanvas .btn-close svg {
  width: 0.75rem;
  height: auto;
}

.offcanvas-body {
  padding: 1.5rem 1.5rem 1.5rem 1.5rem;
}

.offcanvas-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border-top: 0 none;
  padding: 1.25rem 1.25rem 1.25rem 1.25rem;
  z-index: 1;
}

.offcanvas-footer .btn:not(:last-child) {
  margin-right: 1rem;
}

/* Offcanvas Categories */
.offcanvas-categories .offcanvas-body {
  padding-top: 0;
}

.offcanvas-categories .link-item {
  padding: 1rem 0;
  font-size: 1rem;
  font-weight: 500;
}

.offcanvas-categories .link-item a {
  text-decoration: none;
}

.offcanvas-categories .custom-accordion .accordion-button {
  padding-left: 0;
}

/* Offcanvas Courses Filters */
.offcanvas-courses-filter .offcanvas-header {
  padding: 2rem 1rem 1rem 2.5rem;
}

.offcanvas-courses-filter .offcanvas-body {
  padding: 0 2.5rem 1.5rem 2.5rem;
}

.offcanvas-courses-filter .offcanvas-header svg.right-down-arrow {
  position: absolute;
  top: 4rem;
  left: 0.625rem;
  width: 2.5rem;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.offcanvas-courses-filter .custom-accordion .accordion-button {
  padding-top: 1.5875rem;
  padding-bottom: 1.5875rem;
  padding-left: 0;
}

.offcanvas-courses-filter .offcanvas-footer {
  padding: 1.25rem 2.5rem 1.25rem 2.5rem;
}

.offcanvas-courses-filter .button-filters {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 1.875rem;
}

.offcanvas-courses-filter .button-filters .btn {
  margin-bottom: 1rem;
  padding: 0 1rem;
}

.offcanvas-courses-filter .button-filters .btn:not(:last-child) {
  margin-right: 0.625rem;
}

/* Custom Accordion */
.custom-accordion .accordion-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: unset;
}

.custom-accordion .accordion-item {
  position: relative;
  border: 0 none;
  z-index: 4;
}

.custom-accordion .accordion-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
}

.custom-accordion .accordion-button {
  font-size: 1rem;
  font-weight: 500;
  padding-right: 1.75rem;
  box-shadow: none;
}

.custom-accordion .accordion-button:hover,
.custom-accordion .accordion-button:focus {
  z-index: unset;
}

.custom-accordion .accordion-button::after,
.custom-accordion .accordion-button:not(.collapsed)::after {
  background-image: none;
  display: none;
}

.custom-accordion .accordion-button svg {
  position: absolute;
  top: 50%;
  right: 0.625rem;
  width: 0.625rem;
  height: 0.625rem;
  -webkit-transform: translateY(-50%) rotate(180deg);
  -moz-transform: translateY(-50%) rotate(180deg);
  -ms-transform: translateY(-50%) rotate(180deg);
  -o-transform: translateY(-50%) rotate(180deg);
  transform: translateY(-50%) rotate(180deg);
  -webkit-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}

.custom-accordion .accordion-button.collapsed svg {
  -webkit-transform: translateY(-50%) rotate(0deg);
  -moz-transform: translateY(-50%) rotate(0deg);
  -ms-transform: translateY(-50%) rotate(0deg);
  -o-transform: translateY(-50%) rotate(0deg);
  transform: translateY(-50%) rotate(0deg);
}

.custom-accordion .accordion-body {
  padding: 0 0 1rem 0;
}

.custom-accordion .accordion-body ul.mobile-menu {
  position: relative;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
  padding: 0;
  margin: 0;
}

.custom-accordion .accordion-body ul.mobile-menu li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-basis: 100%;
  list-style: none;
}

.custom-accordion .accordion-body ul.mobile-menu li a {
  text-decoration: none;
}

.custom-accordion .accordion-body ul.mobile-menu li .menu-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  font-weight: 500;
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.custom-accordion .accordion-body .form-check:not(:last-child) {
  margin-bottom: 0.5rem;
}

/* Media item */
.media {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
}

.media .media-image {
  display: flex;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.media .media-body {
  -ms-flex: 1;
  flex: 1;
}

/* Header */
.header-container {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  display: block;
  z-index: 1020;
}

.header-container.logged-out .col-header-options.logged-in,
.header-container.logged-in .col-header-options.logged-out {
  display: none;
}

/* Section Course */
.section-course {
  position: relative;
  margin-top: 2.125rem;
  overflow-x: clip;
}

.section-course figure.curly-line {
  position: absolute;
  top: 7.5rem;
  right: -2px;
  z-index: 2;
  margin: 0;
}

@media (max-width: 1600px) {
  .section-course figure.curly-line {
    display: none !important;
  }
}

/* Course header */
.course-header {
  display: block;
  padding-right: 3rem;
}

@media (max-width: 991px) {
  .course-header {
    padding-right: 0 !important;
  }
}

.course-header h1 {
  font-size: 4rem;
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.course-total-holder h1 {
  font-size: 3rem;
  margin-bottom: 1.7rem;
  font-weight: 800;
}

@media (max-width: 576px) {
  .course-total-holder h1 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    font-weight: 800;
  }
}

.course-hero-image {
  margin: 1rem 0;
}

.course-hero-image img {
  width: 100%;
  height: auto;
  border-radius: 0.3rem;
  display: block;
}

.course-meta-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 0 0 0.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.course-meta-info .meta-item {
  display: flex;
  align-items: center;
}

.course-meta-info .meta-item .icon {
  margin-right: 0.5rem;
  flex-shrink: 0;
}

/* desni deo */
.meta-item.meta-right {
  margin-left: auto;
}

.meta-item.meta-right .icon {
  color: #1f3c7a;
}

@media (max-width: 768px) {
  .course-meta-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .meta-item.meta-right {
    margin-left: 0;
  }
}

@media (max-width: 576px) {
  .course-meta-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

.course-info-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* poravnato levo */
  gap: 6px;
}

.info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 4px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}

.meta-item svg {
  color: #1f3c7a;
  flex-shrink: 0;
}

.audio-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #f2f2f2;
  padding: 2px 6px;
  text-transform: uppercase;
  border-radius: 0.2rem;
}

.link-pretplata {
  position: relative;
  color: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  background-image: linear-gradient(#2f55ff, #2f55ff);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px; /* linija postoji, ali 0 širine */
  transition: background-size 0.3s ease, color 0.3s ease;
}

.link-pretplata:hover {
  color: #2f55ff;
  background-size: 100% 1px; /* “puni” underline u plavo */
}

.course-header .course-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 0.875rem;
}

.course-header .course-tags a {
  padding: 0.25rem 0.5rem;
  margin: 0 0.5rem 0.5rem 0;
  text-decoration: none;
  -webkit-border-radius: 0.5rem;
  -moz-border-radius: 0.5rem;
  border-radius: 0.5rem;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.course-header .course-tags a:hover {
  opacity: 0.8;
}

.main-course-tags {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 1.25rem 0 1.25rem 0;
}

.main-course-tags .course-tags {
  display: flex;
  align-items: center;
}

.main-course-tags .course-tags a {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  margin-right: 0.5rem;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.main-course-tags .course-tags a:hover {
  border-color: #9e9c9c;
  box-shadow: 0 0 0 2px rgba(101, 101, 101, 0.05);
}

.main-course-tags .course-icons-sj {
  display: flex;
  align-items: baseline;
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-course-tags .course-icons-sj li {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.course-header .course-rating {
  display: inline-block;
  width: 5.375rem;
  font-weight: 600;
  padding-bottom: 0.125rem;
  margin-bottom: 1.25rem;
  border-bottom: 4px solid #feab4d;
}

.course-total-holder .course-rating {
  display: inline-block;
  width: 5.375rem;
  font-weight: 600;
  padding-bottom: 0.125rem;
  margin-bottom: 1.25rem;
  border-bottom: 3px solid #feab4d;
}

.course-header .course-data {
  display: flex;
  align-items: flex-start;
  margin-bottom: 4.5rem;
  margin-top: 3rem;
}

.course-header .course-data .course-data-item {
  display: blok;
}

.course-header .course-data .course-data-item:not(:last-child) {
  margin-right: 3.125rem;
}

.course-header .course-data .course-data-item p {
  margin-bottom: 0;
  font-weight: 500;
}

.course-header .course-data .course-data-item p:first-child {
  font-size: 2.5rem;
  font-weight: 600;
}

.course-header .course-data .course-data-item p:last-child {
  position: relative;
  display: flex;
  align-items: flex-start;
}

.course-header .course-data .course-data-item p svg {
  position: absolute;
  top: 1.35rem;
  right: 1rem;
  width: 4rem;
  height: auto;
  -webkit-transform: rotate(55deg);
  -moz-transform: rotate(55deg);
  -ms-transform: rotate(55deg);
  -o-transform: rotate(55deg);
  transform: rotate(55deg);
}

/* Course Total */
.course-total-wrapper {
  position: relative;
}

.course-total-holder {
  position: relative;
  padding: 0rem;
  -webkit-border-radius: 1.25rem;
  -moz-border-radius: 1.25rem;
  border-radius: 1.25rem;
  z-index: 3;
}

.background-element {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  -webkit-transform: translate(-50%, 0%);
  -moz-transform: translate(-50%, 0%);
  -ms-transform: translate(-50%, 0%);
  -o-transform: translate(-50%, 0%);
  transform: translate(-50%, 0%);
}

.background-element .circle-1 {
  position: absolute;
  top: 50%;
  width: 26.25vw;
  height: 26.25vw;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 6;
}

.background-element .circle-2 {
  position: absolute;
  top: 50%;
  width: 29.25vw;
  height: 29.25vw;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 5;
}

.background-element .circle-3 {
  position: absolute;
  top: 50%;
  width: 32.25vw;
  height: 32.25vw;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 4;
}

.background-element .circle-4 {
  position: absolute;
  top: 50%;
  width: 35.25vw;
  height: 35.25vw;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 3;
}

.course-total-holder .plan-tabs {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.313rem;
  margin-bottom: 2rem;
  -webkit-border-radius: 0.5rem;
  -moz-border-radius: 0.5rem;
  border-radius: 0.5rem;
}

.course-total-holder .plan-tabs .hexagon {
  position: absolute;
  top: -50%;
  right: -0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-total-holder .plan-tabs .hexagon svg {
  width: 3rem;
  height: auto;
  -webkit-transform: rotate(-15deg);
  -moz-transform: rotate(-15deg);
  -ms-transform: rotate(-15deg);
  -o-transform: rotate(-15deg);
  transform: rotate(-15deg);
}

.course-total-holder .plan-tabs .hexagon span {
  position: absolute;
  font-size: 1rem;
  font-weight: 600;
}

.course-total-holder .plan-tabs .btn {
  width: 50%;
  padding: 0;
}

.plan-price-row-sj {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.plan-switch-sj {
  display: inline-flex;
  border-radius: 50px;
  background: #f5f5f5;
  padding: 4px;
}

.plan-btn-sj {
  border: none;
  background: transparent;
  padding: 6px 16px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  color: #333;
  transition: all 0.3s ease;
}

.plan-btn-sj.is-active {
  background: #000;
  color: #fff;
}

.course-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 1.25rem;
  font-weight: 600;
}

/* Pill switch wrapper */
.plan-switch-sj {
  display: flex;
  gap: 0.5rem;
  background: #f2f2f2;
  border-radius: 12px;
  padding: 4px;
  width: fit-content;
}

/* Each pill */
.plan-btn-sj {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #555;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

/* Active state = filled (like in the mock) */
.plan-btn-sj.is-active {
  background: #222222;
  color: #fff;
  box-shadow: 0 6px 16px rgba(47, 85, 255, 0.25);
}

/* Hover (only for inactive) */
.plan-btn-sj:not(.is-active):hover {
  background: #e9ecff;
  color: #2f55ff;
}

/* Tighten price + period alignment a bit */
.course-price {
  position: relative; /* da bi absolute radilo za savings */
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.course-price .course-savings {
  position: absolute;
  top: -1.625rem;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.course-price .course-savings .save-label {
  background: #ff5722;
  color: #fff;
  padding: 0.25rem 1.5rem;
  border-radius: 0.35rem;
  font-weight: 400;
  font-size: 0.75rem;
  line-height: 1;
}

#priceValue {
  line-height: 1;
}
#pricePeriod {
  margin: 0;
}

/* (Opc.) Ušteda badge – ako ga koristiš pored godišnje cene */
.course-savings {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.course-savings .discount-badge {
  background: #000;
  color: #fff;
  border-radius: 0.25rem;
  font-weight: 00;
  line-height: 1;
  font-size: 0.75rem;
  position: absolute;
  top: -50%;
  right: -1.25rem;
  padding: 0.25rem;
}

.course-price .course-savings .savings-holder {
  position: relative;
  display: inline-block;
  background: #ff5722; /* narandžasta pozadina */
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 0.35rem;
}

.course-price .course-savings .savings-holder span {
  position: absolute;
  top: -40%;
  right: -1.25rem;
  background: #000;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0 0.35rem;
  border-radius: 0.25rem;
}

/* novo */

.course-total-holder .course-price {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.course-total-holder .course-price .price-holder {
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 600;
}

.course-total-holder .course-price .price-text {
  position: relative;
  top: 0.188rem;
  margin-left: 0.5rem;
}

.course-total-holder .course-price .price-text p {
  font-size: 0.75rem;
  margin-bottom: 0;
  line-height: 1;
}

.course-total-holder .course-price .price-text p:first-child {
  margin-bottom: 0;
}
.course-total-holder .course-savings p {
  font-size: 1rem;
  font-weight: 400;
  margin-top: 1rem;
  margin-bottom: 0;
}

.course-total-holder .course-savings svg {
  position: absolute;
  top: 1rem;
  right: -3rem;
  width: 2.5rem;
  height: auto;
  -webkit-transform: rotate(-25deg);
  -moz-transform: rotate(-25deg);
  -ms-transform: rotate(-25deg);
  -o-transform: rotate(-25deg);
  transform: rotate(-35deg);
}

.course-total-holder .course-savings .savings-holder {
  position: relative;
  display: inline-block;
  padding: 0 1.5rem;
  font-weight: 600;
  -webkit-border-radius: 0.25rem;
  -moz-border-radius: 0.25rem;
  border-radius: 0.25rem;
}

.course-total-holder .course-savings .savings-holder span {
  position: absolute;
  top: -50%;
  right: -1.25rem;
  padding: 0 0.25rem;
  font-weight: 600;
  -webkit-border-radius: 0.25rem;
  -moz-border-radius: 0.25rem;
  border-radius: 0.25rem;
}

.course-total-holder .course-info {
  display: block;
  margin: 1rem 0 1rem 0;
}

.course-total-holder .course-info .media:not(:last-child) {
  margin-bottom: 0.625rem;
}

.course-total-holder .course-info .media-image svg {
  width: 1.25rem;
  height: auto;
}

.course-total-holder .button-holder .btn {
  text-transform: uppercase;
  width: 100%;
  font-size: 1rem;
  text-align: center;
}

/* Omotač koji drži sve badge-ove */
.course-all {
  position: absolute;
  top: -6px; /* koliko iznad dugmeta */
  right: 25px;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.all-holder {
  background: #f7d413;
  color: #222;
  padding: 4px 14px 4px 14px;
  border-radius: 6px;
  font-size: 0.625rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* Potrebno da dugme bude pozicionirano */
.btn {
  position: relative;
}

.button-holder-centar {
  display: flex;
  justify-content: center;
  width: 100%;
  font-size: 1.125rem;
  margin-top: 2rem;
  margin-bottom: 8rem;
}

.course-total-info {
  margin-top: 1rem;
  padding: 0 1.875rem;
}

.course-total-info p {
  margin-bottom: 0.5rem;
}

.course-total-info p:first-of-type {
  font-weight: 500;
}

.course-total-info p:last-of-type {
  font-size: 0.75rem;
}

.subscribe-note-sj {
  margin-top: 0rem;
}

/* ≤1330px: CENA IZNAD, TABOVI ISPOD */
@media (max-width: 83.125rem) {
  /* 1330px */
  .plan-price-row-sj {
    display: flex; /* napravi flex kontejner */
    flex-direction: column; /* vertikalno slaganje */
    align-items: flex-start;
    gap: 0.5rem;
  }

  .plan-price-row-sj .course-price {
    order: -1; /* ✅ cena PRE tabova */
    margin-bottom: 10px;
  }

  .plan-price-row-sj .plan-switch-sj {
    order: 0; /* ✅ tabovi ispod cene */
    margin-top: 0;
    margin-bottom: 20px;
  }

  /* poravnanje RSD + period (koristi tvoj postojeći stil) */
  .plan-price-row-sj .course-price .price-text {
    position: relative;
    top: 0.188rem;
    margin-left: 0.5rem;
    line-height: 1;
  }
  .plan-price-row-sj .course-price .price-text p {
    font-size: 0.75rem;
    margin: 0;
    line-height: 1;
    font-weight: 400;
  }
}

/* ≤991px: VRATI SA STRANE (side-by-side) */
@media (max-width: 61.9375rem) {
  .plan-price-row-sj {
    flex-direction: row; /* nazad u red */
    align-items: center;
    gap: 2rem;
    margin-top: 40px;
    margin-bottom: 15px;
  }
  .plan-price-row-sj .course-price,
  .plan-price-row-sj .plan-switch-sj {
    order: 0; /* poništi preuređivanje */
    margin: 0;
  }
}

/* ≤1330px: CENA IZNAD, TABOVI ISPOD */
@media (max-width: 500px) {
  /* 1330px */
  .plan-price-row-sj {
    display: flex; /* napravi flex kontejner */
    flex-direction: column; /* vertikalno slaganje */
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 40px;
  }

  .plan-price-row-sj .course-price {
    order: -1; /* ✅ cena PRE tabova */
    margin-bottom: 10px;
  }

  .plan-price-row-sj .plan-switch-sj {
    order: 0; /* ✅ tabovi ispod cene */
    margin-top: 0;
    margin-bottom: 0px;
  }

  /* poravnanje RSD + period (koristi tvoj postojeći stil) */
  .plan-price-row-sj .course-price .price-text {
    position: relative;
    top: 0.188rem;
    margin-left: 0.5rem;
    line-height: 1;
  }
  .plan-price-row-sj .course-price .price-text p {
    font-size: 0.75rem;
    margin: 0;
    line-height: 1;
    font-weight: 400;
  }
}

/* Section Main Title */
.section .main-title {
  margin-bottom: 1rem;
}

.section .main-title h2 {
  display: flex;
  align-items: flex-end;
  font-size: 2rem;
  margin-bottom: 0.313rem;
  line-height: 1;
}

@media (max-width: 991px) {
  .section .main-title h2 {
    font-size: 1.5rem;
  }
}

.section .main-title h2 svg {
  width: 2.5rem;
  height: auto;
  -webkit-transform: scale(-1, 1);
  -moz-transform: scale(-1, 1);
  -o-transform: scale(-1, 1);
  transform: scale(-1, 1);
  margin-left: 0.75rem;
}

.section .main-title p {
  margin-bottom: 0;
}

/* Course Lesson */
.course-lessons {
  margin-bottom: 3.125rem;
  margin-top: 0.125rem;
}

.lesson-subtitle {
  margin-bottom: 1.5rem;
}

.lesson-subtitle h2 {
  display: flex;
  align-items: flex-end;
  font-size: 1.375rem;
  margin-bottom: 0.313rem;
}

.lesson-subtitle h2 svg {
  width: 2.5rem;
  height: 2.5rem;
  -webkit-transform: scale(-1, 1);
  -moz-transform: scale(-1, 1);
  -o-transform: scale(-1, 1);
  transform: scale(-1, 1);
  margin-left: 1rem;
}

.lesson-subtitle p {
  margin-bottom: 0;
}

.lesson-list-item {
  position: relative;
  padding: 1rem 5rem 1rem 5rem;
  -webkit-border-radius: 0.5rem;
  -moz-border-radius: 0.5rem;
  border-radius: 0.5rem;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

/* ===================== DODAO SJ — video modal ===================== */
/* modal: skriven po difoltu */
.vm-modal {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: none; /* sakrij */
  opacity: 0;
  visibility: hidden;
}

/* prikaži kada se doda .is-open iz JS-a */
.vm-modal.is-open {
  display: block;
  opacity: 1;
  visibility: visible;
}

/* backdrop */
.vm-modal .vm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

/* sadržaj */
.vm-modal .vm-content {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 900px);
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

/* iframe */
.vm-frame,
.vm-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* close dugme */
.vm-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
}

/* kada je modal otvoren, zaključaj body skrol */
.vm-locked {
  overflow: hidden;
}

.lesson-list-item:not(:last-child) {
  margin-bottom: 1.25rem;
}

.lesson-list-item .item-badges {
  display: flex;
  justify-content: flex-end;
  width: 3.125rem;
  position: absolute;
  top: 50%;
  left: -3.5rem;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 30;
}

.lesson-list-item .item-badges svg {
  width: 1.25rem;
  height: 1.25rem;
}

.lesson-list-item .item-badges .badge-holder {
  position: relative;
}

.lesson-list-item .item-badges .badge-holder .btn-badge {
  padding: 0;
}

.lesson-list-item .item-badges .my-note {
  position: absolute;
  top: 50%;
  left: calc(100% + 1rem);
  min-width: 21.875rem;
  max-width: 21.875rem;
  padding: 1.25rem;
  -webkit-box-shadow: 0 0 1.25rem 0 rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 0 1.25rem 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 1.25rem 0 rgba(0, 0, 0, 0.1);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}

.lesson-list-item .item-badges .my-note .note-arrow {
  width: 3.125rem;
  height: 1.25rem;
  position: absolute;
  top: 50%;
  left: -2.188rem;
  -webkit-transform: translateY(-50%) rotate(90deg);
  -moz-transform: translateY(-50%) rotate(90deg);
  -ms-transform: translateY(-50%) rotate(90deg);
  -o-transform: translateY(-50%) rotate(90deg);
  transform: translateY(-50%) rotate(90deg);
  overflow: hidden;
}

.lesson-list-item .item-badges .my-note .note-arrow::after {
  content: "";
  position: absolute;
  width: 1.25rem;
  height: 1.25rem;
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(45deg);
  -moz-transform: translateX(-50%) translateY(-50%) rotate(45deg);
  -ms-transform: translateX(-50%) translateY(-50%) rotate(45deg);
  -o-transform: translateX(-50%) translateY(-50%) rotate(45deg);
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
  top: 0;
  left: 50%;
  -webkit-box-shadow: 0 0 1.25rem 0 rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 0 1.25rem 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 1.25rem 0 rgba(0, 0, 0, 0.1);
}

.lesson-list-item .item-badges .my-note .note-content {
  position: relative;
  padding: 0;
}

.lesson-list-item .item-badges .my-note .note-content .form-control {
  border: 0 none;
  padding: 1rem 1.25rem;
  min-height: 18.75rem;
  max-height: 18.75rem;
  overflow-y: auto;
  resize: none;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}

.lesson-list-item .item-badges .my-note .note-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
}

.lesson-list-item .item-badges .my-note .note-options .option-holder {
  display: inline-flex;
  align-items: center;
}

.lesson-list-item .item-badges .my-note .note-options .option-holder a {
  text-decoration: none;
}

.lesson-list-item .item-badges .my-note .note-options .option-holder a:hover {
  text-decoration: underline;
}

.lesson-list-item .item-badges .my-note svg.bookmark-badge {
  position: absolute;
  top: -0.438rem;
  right: 1rem;
  width: 1.25rem;
  height: 1.25rem;
}

.lesson-list-item .item-badges .badge-holder .hover-notification {
  position: absolute;
  top: -2.188rem;
  left: 0.375rem;
  display: flex;
  align-items: flex-start;
  width: 12.5rem;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.lesson-list-item .item-badges .badge-holder svg:hover ~ .hover-notification,
.lesson-list-item
  .item-badges
  .badge-holder
  .btn-badge:hover
  ~ .hover-notification {
  opacity: 1;
  visibility: visible;
}

.lesson-list-item .item-badges .badge-holder .hover-notification svg {
  width: 2.188rem;
  height: auto;
  flex-shrink: 0;
}

.lesson-list-item .item-badges .badge-holder .hover-notification span {
  position: relative;
  top: -0.438rem;
}

.lesson-list-item .item-badges svg:not(:last-child) {
  margin-right: 0.313rem;
}

.lesson-list-item .item-icon {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  top: 50%;
  left: 1.25rem;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  z-index: 20;
  cursor: pointer;
}

.lesson-list-item .item-icon .hover-notification {
  position: absolute;
  top: -2.938rem;
  left: 0.813rem;
  display: flex;
  align-items: flex-start;
  width: 12.5rem;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.lesson-list-item .item-icon a:hover ~ .hover-notification {
  opacity: 1;
  visibility: visible;
}

.lesson-list-item .item-icon .hover-notification svg {
  width: 2.5rem;
  height: auto;
  flex-shrink: 0;
}

.lesson-list-item .item-icon .hover-notification span {
  position: relative;
  top: -0.438rem;
  left: 0.313rem;
}

.lesson-list-item .item-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.lesson-list-item.with-connected-practice .connected-practice-svg {
  display: block;
}

.lesson-list-item .connected-practice-svg {
  display: none;
  position: absolute;
  left: -1.25rem;
  top: 4.063rem;
  width: 2.5rem;
  height: auto;
  -webkit-transform: rotate(25deg);
  -moz-transform: rotate(25deg);
  -ms-transform: rotate(25deg);
  -o-transform: rotate(25deg);
  transform: rotate(25deg);
}

@media (max-width: 1640px) {
  .lesson-list-item .connected-practice-svg {
    display: none !important;
  }
}

.lesson-list-item.connected {
  margin-left: 1.25rem;
}

.lesson-list-item.disabled {
  cursor: not-allowed;
}

.lesson-list-item.disabled .item-icon svg {
  width: 1rem;
  height: 1rem;
}

.lesson-list-item .item-icon svg.icon-play {
  width: 0.75rem;
  height: 0.75rem;
  -webkit-transform: rotate(-10deg);
  -moz-transform: rotate(-10deg);
  -ms-transform: rotate(-10deg);
  -o-transform: rotate(-10deg);
  transform: rotate(-10deg);
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.lesson-list-item .item-content h3 {
  font-size: 1rem;
  margin-bottom: 0;
  font-weight: 500;
}

@media (max-width: 500px) {
  .lesson-list-item .item-content h3 {
    font-size: 0.875rem;
  }
}

.lesson-list-item .item-content p {
  font-size: 0.75rem;
  margin-bottom: 0;
}

.lesson-list-item .item-info {
  margin-bottom: 0;
  margin-right: 0.625rem;
}

.lesson-list-item .script-notification {
  position: absolute;
  top: 50%;
  right: 3.125rem;
  line-height: 1;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}

.lesson-list-item .script-notification svg {
  width: 1rem;
  height: auto;
}

.lesson-list-item .item-action {
  position: absolute;
  top: 50%;
  right: 1.25rem;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 20;
}

.lesson-list-item .item-action .action-holder {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.lesson-list-item .item-action .action-holder svg {
  width: 1.375rem;
  height: 1.375rem;
}

.lesson-list-item .item-action .action-holder .btn {
  font-size: 0.75rem;
}

.lesson-list-item .item-action .action-holder .badge.badge-notification {
  -webkit-transform: translate(-65%, -50%);
  -moz-transform: translate(-65%, -50%);
  -ms-transform: translate(-65%, -50%);
  -o-transform: translate(-65%, -50%);
  transform: translate(-65%, -50%);
}

.lesson-list-item .item-action .action-holder .hover-notification {
  position: absolute;
  top: -2.188rem;
  right: 0.625rem;
  display: flex;
  align-items: baseline;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.lesson-list-item .item-action .action-holder a:hover ~ .hover-notification,
.lesson-list-item
  .item-action
  .action-holder
  .badge:hover
  ~ .hover-notification {
  opacity: 1;
  visibility: visible;
}

.lesson-list-item .item-action .action-holder .hover-notification svg {
  position: relative;
  top: 0.313rem;
  width: 2.25rem;
  height: auto;
  flex-shrink: 0;
  order: 2;
  -webkit-transform: rotate(25deg);
  -moz-transform: rotate(25deg);
  -ms-transform: rotate(25deg);
  -o-transform: rotate(25deg);
  transform: rotate(25deg);
}

.lesson-list-item .item-action .action-holder .hover-notification span {
  position: relative;
  top: -0.375rem;
  right: 0.313rem;
  order: 1;
}

.lesson-list-item.quiz-item {
  padding: 2.188rem 11.25rem 2.188rem 5rem;
}

.lesson-list-item.quiz-item.disabled {
  cursor: not-allowed;
}

.lesson-list-item.quiz-item .item-content p strong {
  margin-left: 0.625rem;
}

.active-border {
  position: absolute;
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  background-clip: content-box;
  animation: spinBorder 3s linear 1;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* Show more */
.course-lessons .show-more {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.btn-show-more {
  padding: 0;
}

.btn-show-more svg {
  width: 3.125rem;
  height: auto;
}

/* Section Lecturer */
.section-lecturer {
  position: relative;
  margin-bottom: 3.75rem;
}

.section-lecturer figure.curly-line {
  position: absolute;
  top: 64rem;
  left: 0;
  z-index: 2;
  margin: 0;
}

@media (max-width: 1900px) {
  .section-lecturer figure.curly-line {
    display: none !important;
  }
}

.section-lecturer .media {
  position: relative;
  align-items: flex-start;
  z-index: 3;
}

.section-lecturer .media-image {
  width: 15rem;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 3.75rem;
}

@media (max-width: 991px) {
  .section-lecturer .media-image {
    display: none !important;
  }
}

.section-lecturer .media-image {
  max-width: 15rem;
}

.section-lecturer .media-body {
  padding-top: 1.875rem;
}

.section-lecturer .media-body .media-title {
  margin-bottom: 1.875rem;
}

.section-lecturer .media-body .media-title h2 {
  font-size: 3.5rem;
  margin-bottom: 0.2rem;
}

@media (max-width: 991px) {
  .section-lecturer .media-body .media-title h2 {
    font-size: 1.5rem !important;
  }
}

.section-lecturer .media-body .media-title h2 strong {
  position: relative;
}

.section-lecturer .media-body .media-title h2 strong svg {
  position: absolute;
  top: 1.5rem;
  left: 100%;
  width: 4rem;
  height: auto;
  -webkit-transform: rotate(40deg);
  -moz-transform: rotate(40deg);
  -ms-transform: rotate(40deg);
  -o-transform: rotate(40deg);
  transform: rotate(40deg);
}

@media (max-width: 991px) {
  .section-lecturer .media-body .media-title h2 strong svg {
    top: 1.5rem;
    left: 115%;
    width: 3rem;
  }
}

@media (max-width: 500px) {
  .section-lecturer .media-body .media-title h2 strong svg {
    display: none !important;
  }
}

.section-lecturer .media-body .media-title p {
  margin-bottom: 0;
}

.section-lecturer .media-body .media-content {
  margin-bottom: 1.25rem;
}

.section-lecturer .media-body .media-content p {
  font-size: 1.25rem;
  margin-bottom: 0;
}

@media (max-width: 500px) {
  .section-lecturer .media-body .media-content p {
    font-size: 1rem;
  }
}

/* Section Testimonials */

section.section-testimonials {
  margin-bottom: 60px;
}

.section-testimonials .testimonial-item {
  position: relative;
  padding: 1.5rem 0;
}

.section-testimonials .testimonial-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
}

.section-testimonials .testimonial-item h3 {
  font-size: 1.25rem;
}

.section-testimonials .testimonial-item .item-options {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.section-testimonials .testimonial-item .item-options .testimonial-rating {
  display: inline-block;
  width: 5.375rem;
  font-weight: 600;
  padding-bottom: 0.3rem;
}

.section-testimonials .testimonial-item .item-options .btn-testimonial-like {
  display: inline-flex;
  align-items: center;
  padding: 0;
}

.section-testimonials
  .testimonial-item
  .item-options
  .btn-testimonial-like
  svg {
  width: 1.25rem;
  height: auto;
  margin-left: 0.5rem;
}

.testimonials .show-more {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

/* Scroll text */

.scroll-section {
  overflow: hidden;
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: #f9f5f5;
  white-space: nowrap;
  padding: 1rem 0; /* malo lufta gore/dole */
}

.ticker-wrap:hover .ticker {
  animation-play-state: paused;
}

.ticker {
  display: inline-flex;
  animation: ticker 70s linear infinite; /* sporiji, glatkiji loop */
}

.ticker span {
  display: inline-block;
  padding: 0 0.2rem; /* razmak između ponavljanja */
  font-size: 14px; /* font 96px */
  font-weight: 400;
  color: #111; /* tamno siva/črna slova */
  white-space: nowrap;
  line-height: 2;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Featured Course */

.courses-header {
  border-radius: 0.75rem;
  text-align: center;
  margin-bottom: 20px;
}

.courses-box {
  background: #f6f3ef;
  padding: 3rem 2rem;
  border-radius: 0.75rem;
  text-align: center;
}

.courses-header h1 {
  font-size: clamp(2rem, 1rem + 2.5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.courses-header .text-light {
  color: #e41d63; /* akcenat */
}

.courses-header p {
  font-size: 1rem;
  color: #5b5b5b;
  max-width: 640px;
  margin: 0 auto 2rem;
}

/* Bar */

/* Search bar */
.search-sj {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 320px; /* po potrebi promeni širinu */
}

.search-sj input {
  width: 100%;
  padding: 0.625rem 2.25rem 0.625rem 0.875rem;
  font-size: 0.95rem;
  border: 1px solid #fff;
  border-radius: 6px;
  background-color: #fff;
  color: #222;
  transition: box-shadow 0.6s ease, border-color 0.6s ease;
  font-size: 0.75rem;
}

.search-sj input::placeholder {
  color: #888;
  font-size: 0.75rem;
}

.search-sj input:hover,
.search-sj input:focus {
  outline: none;
  border-color: #2f55ff;
  box-shadow: 0 0 6px rgba(47, 85, 255, 0.25), 0 0 12px rgba(47, 85, 255, 0.15),
    0 0 20px rgba(47, 85, 255, 0.1);
}
/* Ikonica */
.search-sj svg {
  position: absolute;
  right: 0.75rem;
  width: 1rem;
  height: 1rem;
  color: #666;
  pointer-events: none;
}
.filters-wrap-sj {
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: calc(var(--header-h) + var(--filters-top-gap));
  z-index: 30; /* dovoljna vrednost, ne treba 100000 */
  width: 100%;
  background: #eeeeee;
  border-radius: 6px;
  padding: 6px;
  margin: 10px 0 40px;
  /* opciono mala senka da se vidi da „pluta“ */
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

/* Quick Suggestions bar */
.qs-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0 12px 0; /* razmak ispod, da se odvoji od filters-inner-sj */
  flex-wrap: wrap;
}

.qs-wrapper {
  display: flex;
  flex-direction: column; /* naslov iznad bar-a */
  align-items: flex-start; /* poravnaj sve ulevo */
  margin-top: 3rem;
}

.qs-wrapper .qs-title {
  width: 100%;
  margin-bottom: 0.5rem;
}

.qs-wrapper .qs-title .qs-title-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #222;
  margin: 0; /* nema dodatnih margina */
  text-align: left; /* osiguraj da ide levo */
  font-size: 2rem;
}

.qs-wrapper .qs-title > p {
  all: unset;
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #222;
  margin: 0 0 8px;
}

.qs-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  cursor: pointer;
}
.qs-refresh:hover {
  background: #f8fafc;
}

.qs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.qs-chip {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 0.725rem;
  color: #222;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  display: inline-flex;
  align-items: center;
}

.qs-chip svg {
  margin-right: 6px;
  vertical-align: middle;
}
.qs-refresh svg {
  display: block;
}
.qs-ico {
  display: inline-block;
}
.qs-refresh.is-rotating {
  transition: transform 0.3s ease;
  transform: rotate(180deg);
}
.qs-chip:hover {
  border-color: #c7d2fe;
}

.courses-header,
.courses-header .container-custom,
.courses-header .row {
  overflow: visible !important;
}
.filters-inner-sj {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Chip (button + menu) */
.chip-sj {
  position: relative;
}
.chip-btn-sj {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 10px 14px;
  background: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 400;
  font-size: 0.75rem;
  cursor: pointer;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.chip-btn-sj:hover {
  border-color: #c7d2fe;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.chip-menu-sj {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 300px;
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: 6px;
  padding: 8px 20px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  display: none;
  z-index: 20;
}
.chip-sj[data-open="true"] .chip-menu-sj {
  display: block;
}

/* Checkbox red */
.check-sj {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.35rem;
  border-radius: 8px;
  cursor: pointer;
}
.check-sj input {
  width: 18px;
  height: 18px;
  accent-color: #2f55ff;
}

/* underline-fill na label (kao što si tražio) */
.check-sj .label {
  position: relative;
  font-weight: 500;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.25s ease;
}
.check-sj:hover .label,
.check-sj input:checked + .label {
  background-size: 100% 2px;
}

/* okvir menija već imaš (.chip-menu-sj). Dodaj samo ovo: */
.nested-sj .nm-item-sj {
  margin: 0.25rem 0;
}
.nested-sj .nm-toggle-sj {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: 0;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
}
.nested-sj .nm-toggle-sj:hover {
  background: #f6f6f6;
}
.nested-sj .nm-sub-sj {
  display: none;
  padding: 0.25rem 0.25rem 0.25rem 0.75rem;
}
.nested-sj [data-open="true"] > .nm-sub-sj {
  display: block;
}

.nm-link-sj {
  display: block;
  padding: 0.45rem 0.75rem;
  border-radius: 0.5rem;
  color: inherit;
  text-decoration: none;
}
.nm-link-sj:hover {
  background: #f6f6f6;
}
/* mala strelica okretanje */
.nested-sj [data-open="true"] > .nm-toggle-sj svg {
  transform: rotate(180deg);
  transition: transform 0.2s;
}
.nested-sj .nm-toggle-sj svg {
  transition: transform 0.2s;
}

/* Right side (count + reset) */
.filters-right-sj {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative; /* ovo dodaj */
}
/* Dugme brojača */
.active-count-sj {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 1rem 0.75rem;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  background: #fff;
  color: #2f55ff;
  font-weight: 600;
  line-height: 1;
  transition: box-shadow 0.6s ease, border-color 0.6s ease;
}

.active-count-sj.animate {
  animation: count-glow 0.8s ease;
}

@keyframes count-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(47, 85, 255, 0.25);
    border-color: #2f55ff;
  }
  50% {
    box-shadow: 0 0 6px rgba(47, 85, 255, 0.25),
      0 0 12px rgba(47, 85, 255, 0.15), 0 0 20px rgba(47, 85, 255, 0.1);
    border-color: #2f55ff;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(47, 85, 255, 0);
    border-color: #e5e7eb;
  }
}

.active-count-sj:hover,
.active-count-sj:focus,
.active-count-sj:active {
  outline: none;
  border-color: #2f55ff;
  box-shadow: 0 0 6px rgba(47, 85, 255, 0.25), 0 0 12px rgba(47, 85, 255, 0.15),
    0 0 20px rgba(47, 85, 255, 0.1);
}

/* Popover */
.active-popover-sj {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: min(420px, 70vw);
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid #eee;
  padding: 0.75rem;
  z-index: 40;
}

/* Strelica za popover */
.active-popover-sj::before {
  content: "";
  position: absolute;
  right: 18px;
  top: -8px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-left: 1px solid #eee;
  border-top: 1px solid #eee;
  transform: rotate(45deg);
}

/* Naslov */
.ap-header-sj {
  font-weight: 400;
  margin-bottom: 0.5rem;
}

/* Lista tagova */
.ap-list-sj {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Tag */
.ap-tag-sj {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #f7f7f7;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
}

/* Dugme za uklanjanje taga */
.ap-remove-sj {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  color: #666;
  padding: 0;
}
.ap-remove-sj:hover {
  color: #000;
}

.reset-sj {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px 24px;
  font-weight: 400;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 8px; /* razmak između teksta i ikonice */
  cursor: pointer;
  transition: box-shadow 0.6s ease, border-color 0.6s ease;
}

.reset-sj:hover,
.reset-sj:focus,
.reset-sj:active {
  outline: none;
  border-color: #2f55ff;
  box-shadow: 0 0 6px rgba(47, 85, 255, 0.25), 0 0 12px rgba(47, 85, 255, 0.15),
    0 0 20px rgba(47, 85, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .filters-inner-sj {
    flex-wrap: wrap;
  }
  .filters-right-sj {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 991px) {
  .qs-wrapper,
  .filters-wrap-sj {
    display: none !important;
  }
}

/* Filter course end */

.courses-sort-sj {
  margin: 2rem 0 1.5rem;
}

@media (max-width: 1199px) {
  .courses-sort-sj {
    margin: 1rem 0 0rem;
  }
}

.sort-inner-sj {
  display: flex;
  align-items: center;
  justify-content: right;
  gap: 1rem;
  flex-wrap: wrap;
  margin-right: 10rem;
  position: relative;
}

/* Ispod 1200px ukloni marginu */
@media (max-width: 1199px) {
  .sort-inner-sj {
    margin-right: 0;
    justify-content: center; /* opcija: centriraj na manjim ekranima */
  }
}

.sort-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #555;
}

.sort-btn-sj {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #222;
}

/* Wrapper za vertikalno poravnanje */
.bf-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Mali tekst iznad */
.bf-label {
  font-size: 0.625rem; /* 10px */
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #111;
  display: inline-flex;
  align-items: center;
}

/* BLACK FRIDAY dugme */
.black-friday-btn {
  background: #000;
  color: #fff;
  border: 1px solid #000;
  border-radius: 6px;
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

/* Flame badge (žuti) */
.black-friday-btn::before {
  content: "🔥";
  position: absolute;
  top: -16px;
  right: -8px;
  background: #ffd400;
  color: #000;
  font-size: 0.8rem;
  padding: 3px 5px;
  border-radius: 6px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Hover efekat */
button.black-friday-btn:hover,
button.black-friday-btn:focus,
button.black-friday-btn:active {
  outline: none;
  border-color: #ffd400 !important;
  box-shadow: 0 0 6px rgba(255, 212, 0, 0.45), 0 0 12px rgba(255, 212, 0, 0.35),
    0 0 20px rgba(255, 212, 0, 0.25) !important;
  color: #ffd400 !important;
}
@media (max-width: 551px) {
  .sort-btn-sj {
    padding: 6px 8px;
    font-size: 0.75rem;
  }

  .sort-inner-sj {
    gap: 0.5rem;
  }
}

@media (max-width: 420px) {
  .sort-btn-sj {
    padding: 6px 6px;
    font-size: 0.75rem;
  }

  .sort-inner-sj {
    gap: 0.5rem;
  }
}

@media (max-width: 400px) {
  .sort-btn-sj {
    padding: 6px 6px;
    font-size: 0.65rem;
  }

  .sort-inner-sj {
    gap: 0.5rem;
  }
}

@media (max-width: 768px) {
  a:hover,
  a:focus,
  a:active {
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
  }
}

.sort-btn-sj:hover {
  border-color: #2f55ff;
  box-shadow: 0 0 6px rgba(47, 85, 255, 0.25);
  color: #2f55ff;
}

.sort-btn-sj.is-active {
  background: #2f55ff;
  color: #fff;
  border-color: #2f55ff;
  box-shadow: 0 0 10px rgba(47, 85, 255, 0.3);
}

.section.courses-listing {
  margin-bottom: 2rem;
  margin-top: 1.5rem;
}

.section-featured-course .media {
  position: relative;
  align-items: flex-start;
}

.section-featured-course .media-image {
  max-width: 37.5rem;
  margin-left: 3.75rem;
  margin-right: 0;
}

@media (max-width: 1200px) {
  .section-featured-course .media-image {
    display: none !important;
  }
}

.section-featured-course .media-body {
  padding-top: 3.875rem;
}

@media (max-width: 500px) {
  .section-featured-course .media-body {
    padding-top: 0.875rem;
  }
}

.section-featured-course .media-body .media-title {
  margin-bottom: 1.875rem;
}

.section-featured-course .media-body .media-title h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

@media (max-width: 991px) {
  .section-featured-course .media-body .media-title h2 {
    font-size: 2rem;
  }
}

.section-featured-course .media-body .media-title h2 strong {
  position: relative;
}

.section-featured-course .media-body .media-title h2 strong svg {
  position: absolute;
  top: 2rem;
  left: 100%;
  width: 4rem;
  height: auto;
  -webkit-transform: rotate(40deg);
  -moz-transform: rotate(40deg);
  -ms-transform: rotate(40deg);
  -o-transform: rotate(40deg);
  transform: rotate(40deg);
}

@media (max-width: 991px) {
  .section-featured-course .media-body .media-title h2 strong svg {
    width: 3rem;
  }
}

.section-featured-course .media-body .media-title p {
  margin-bottom: 0;
}

.section-featured-course .media-body .media-content {
  margin-bottom: 1.25rem;
}

.section-featured-course .media-body .media-content p {
  font-size: 1.25rem;
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .section-featured-course .media-body .media-content p {
    font-size: 1rem;
  }
}

.section-featured-course .media-body .button-holder {
  display: flex;
  align-items: center;
  margin-top: 2.5rem;
}

.section-featured-course .media-body .button-holder .btn {
  position: relative;
  width: 100%;
}

.section-featured-course .media-body .button-holder .btn:not(:last-child) {
  width: 100%;
}

.button-holder {
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* dugmad u zasebnim wrapperima */
.btn-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.btn-wrapper .btn {
  width: 100%;
  text-align: center;
}

/* tekst ispod dugmeta */
.btn-note {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #666;
  text-align: center;
  line-height: 1.4;
}

/* responsive */
@media (min-width: 992px) {
  .button-holder {
    flex-direction: row;
    justify-content: left;
    gap: 2rem;
  }
}

.section-featured-course .media-body .button-holder .course-savings {
  position: absolute;
  top: -1rem;
  right: 20px;
  display: inline-block;
}

.section-featured-course .media-body .button-holder .course-savings p {
  font-size: 1rem;
  font-weight: 500;
  margin-top: 1rem;
  margin-bottom: 0;
}

.section-featured-course .media-body .button-holder .course-savings svg {
  position: absolute;
  top: 1rem;
  right: -3rem;
  width: 2.5rem;
  height: auto;
  -webkit-transform: rotate(-25deg);
  -moz-transform: rotate(-25deg);
  -ms-transform: rotate(-25deg);
  -o-transform: rotate(-25deg);
  transform: rotate(-35deg);
}

.section-featured-course
  .media-body
  .button-holder
  .course-savings
  .savings-holder {
  position: relative;
  display: inline-block;
  padding: 0 1.5rem;
  font-weight: 400;
  -webkit-border-radius: 0.25rem;
  -moz-border-radius: 0.25rem;
  border-radius: 0.25rem;
  color: #fff !important;
}

.section-featured-course
  .media-body
  .button-holder
  .course-savings
  .savings-holder
  span {
  position: absolute;
  top: -50%;
  right: -1.25rem;
  padding: 0 0.25rem;
  font-weight: 600;
  -webkit-border-radius: 0.25rem;
  -moz-border-radius: 0.25rem;
  border-radius: 0.25rem;
  background-color: #000 !important;
}

/* Course listing */

/* === Osiguraj iste visine kartica === */
.section.courses-listing .col-with-hover-item {
  display: flex;
}
.section.courses-listing .course-item-box {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) and (max-width: 991px) {
  .section.courses-listing .col-xl-3.col-lg-6.col-with-hover-item {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* Disable hover scale for these */
.row-large-2-sj .course-item-box.hover-item {
  position: static;
  transform: none !important;
  visibility: visible !important;
  z-index: auto !important;
}

.col-with-hover-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.row.gx-0 > .col-with-hover-item:first-child {
  padding-left: 0;
}

.row.gx-0 > .col-with-hover-item:last-child {
  padding-right: 0;
}

.col-with-hover-item .course-item-box.hover-item {
  position: absolute;
  width: calc(100% + 2rem);
  z-index: -1;
  visibility: hidden;
  -webkit-box-shadow: 0 0 1.25rem 0 rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 0 1.25rem 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 1.25rem 0 rgba(0, 0, 0, 0.1);
  -webkit-transition: all 0.15s ease-in-out;
  -o-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
  transform: scale(1, 1);
  -webkit-border-radius: 0rem;
  -moz-border-radius: 0rem;
  border-radius: 0rem;
  height: auto;
}

.col-with-hover-item:hover .course-item-box.hover-item {
  visibility: visible;
  z-index: 10;
  transform: scale(1.05, 1.05);
}

.badge-holder {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 6px; /* razmak između bedževa */
  z-index: 5;
}

.course-badge {
  background: #ffec86;
  color: #000;
  font-size: 0.75rem;
  font-weight: 400;
  padding: 2px 9px;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.item-image-holder {
  position: relative;
}
/* Special row: 2 large course items */
.row-large-2-sj {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.row-large-2-sj .col-large-sj {
  flex: 1 1 50%;
}

.row-large-2-sj .course-item-box {
  width: 100%;
  height: 100%;
  box-shadow: 0 0 1.25rem 0 rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  overflow: hidden;
}

.loadmore-wrap-sj {
  display: flex;
  justify-content: center;
  margin: 24px 0;
}

.btn-loadmore-sj {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #000;
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 0.55rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 400;
  cursor: default; /* jer je disabled */
}

.btn-loader .spinner {
  width: 16px;
  height: 16px;
  animation: rotate 1s linear infinite;
}

.btn-loader .path {
  stroke: #fff;
  stroke-linecap: round;
  animation: dash 1.4s ease-in-out infinite;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}

/* “pill” loader */
.loader-pill-sj {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1f1f1f;
  color: #fff;
  border-radius: 12px;
  padding: 10px 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
  font-weight: 600;
}
.loader-pill-sj .dot-sj {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#sentinel {
  width: 100%;
  height: 1px;
}

/* Course list  */

.course-item-box {
  -webkit-box-shadow: 0 0 1.25rem 0 rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 0 1.25rem 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 1.25rem 0 rgba(0, 0, 0, 0.1);
  -webkit-border-radius: 0.5rem;
  -moz-border-radius: 0.5rem;
  border-radius: 0.5rem; /* smanjen radius SJ*/
  overflow: hidden;
  height: 100%; /* box 100% SJ */
}

.course-item-box .item-body {
  -webkit-border-bottom-right-radius: 1.25rem;
  -webkit-border-bottom-left-radius: 1.25rem;
  -moz-border-radius-bottomright: 1.25rem;
  -moz-border-radius-bottomleft: 1.25rem;
  border-bottom-right-radius: 1.25rem;
  border-bottom-left-radius: 1.25rem;
}

.course-item-box .item-title {
  display: flex;
  align-items: flex-start;
  padding: 20px 1.75rem 20px 1.75rem;
  min-height: 125px;
}

@media (max-width: 500px) {
  .course-item-box .item-title {
    min-height: 0px;
  }
}

.item-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.course-item-box .item-title h3 {
  font-size: 1rem;
}

.item-title h3,
.item-title .course-desc {
  width: 100%;
}

.course-item-box .item-title h3.title-tight a {
  font-weight: 500;
  text-decoration: none;
  font-size: 1.125rem;
  line-height: 1.25;
}

@media (max-width: 768px) {
  .course-item-box .item-title h3.title-tight a {
    font-size: 1.125rem;
  }
}

@media (max-width: 768px) {
  .course-item-box .item-title h3.title-tight a {
    font-size: 1rem;
    font-weight: 500;
  }
}

.title-tight {
  line-height: 1 !important;
  margin-bottom: 0 !important;
  letter-spacing: 0;
}

/* opis kursa */
.course-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* ograniči na 2 reda */
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.725rem;
  color: #4b4b4b;
  line-height: 1.4;
  margin-top: 10px;
}

.course-item-box .item-title .course-licence {
  padding: 0.25rem 0.5rem;
  text-decoration: none;
  -webkit-border-radius: 0.5rem;
  -moz-border-radius: 0.5rem;
  border-radius: 0.5rem;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.course-item-box .course-tags {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 1.875rem;
  margin-bottom: 1.25rem;
}

.item-info .course-tags {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  margin-bottom: 0rem;
}

.course-item-box .course-tags a {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  text-decoration: none;
  -webkit-border-radius: 0.5rem;
  -moz-border-radius: 0.5rem;
  border-radius: 0.5rem;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.course-item-box .course-tags a:hover {
  border-color: #9e9c9c; /* tamnija boja */
  box-shadow: 0 0 0 2px rgba(101, 101, 101, 0.05); /* opcioni glow */
}

.course-item-box .item-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.875rem;
}

@media (max-width: 500px) {
  .course-item-box .item-info {
    padding: 0.875rem 1.875rem;
  }
}

.course-item-box .item-info .course-lecturer a {
  font-weight: 400;
}

.course-lecturer {
  font-size: 0.725rem;
}

.course-item-box .item-info .course-lecturer a {
  text-decoration: none;
  font-size: 0.875rem;
}
/* Course list end */

/* Autor */
.course-item-box .course-lecturer a {
  font-size: clamp(0.75rem, 0.7rem + 0.3vw, 1rem);
}

/* Cena */
.course-item-box .item-info .course-price .price-holder {
  font-size: clamp(1.25rem, 1rem + 1vw, 2rem);
}

/* Opis ispod cene (mala slova) */
.course-item-box .item-info .course-price .price-text p {
  font-size: clamp(0.65rem, 0.6rem + 0.2vw, 0.75rem);
}

/* Osnova – bez default underline */
.course-item-box .item-info .course-lecturer a,
.course-item-box .item-title h3 a {
  position: relative;
  text-decoration: none;
  color: inherit;
}

/* Pseudo-element za crtanje linije */
.course-item-box .item-info .course-lecturer a::after,
.course-item-box .item-title h3 a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px; /* malo ispod teksta */
  width: 0;
  height: 1px; /* debljina linije */
  background-color: currentColor;
  transition: width 0.3s ease; /* animacija */
}

/* Hover efekat */
.course-item-box .item-info .course-lecturer a:hover::after,
.course-item-box .item-title h3 a:hover::after {
  width: 100%;
}

.course-item-box .item-info .course-price {
  display: flex;
  align-items: center;
}

.course-item-box .item-info .course-price .price-holder {
  font-size: 2rem;
  line-height: 1;
}

.course-item-box .item-info .course-price .price-text {
  position: relative;
  top: 0.188rem;
  margin-left: 0.5rem;
}

.course-item-box .item-info .course-price .price-text p {
  font-size: 0.75rem;
  margin-bottom: 0;
  line-height: 1;
}

.course-item-box .item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.875rem;
}

@media (max-width: 500px) {
  .course-item-box .item-footer {
    padding: 1.5rem 1.875rem;
  }
}

.course-item-box .item-footer .course-rating {
  display: inline-block;
  width: 5.375rem;
  font-weight: 600;
  padding-bottom: 0.125rem;
}

.course-item-box .item-footer .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  height: 1.875rem;
}

.course-item-box .item-footer .btn svg {
  width: 1.375rem;
  height: 1.375rem;
}

@media (max-width: 991px) {
  /* sakrij hover verziju */
  .col-with-hover-item > .course-item-box.hover-item {
    display: none;
  }

  .col-with-hover-item > .course-item-box:not(.hover-item) {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

/* Section Top Title */
.section-top-title,
.section-top-title-subscribe {
  position: relative;
  margin-top: 3.125rem;
  margin-bottom: 5rem;
}

.section-top-title {
  overflow-x: clip;
}

.section-top-title-subscribe,
.courses-top-title {
  position: relative;
  margin-top: 4.125rem;
  margin-bottom: 4.75rem;
}

.courses-top-title {
  position: relative;
  margin-top: 0rem;
  margin-bottom: 4.75rem;
}

@media (max-width: 480px) {
  .section-top-title-subscribe {
    display: none;
  }
}

@media (max-width: 991px) {
  .courses-top-title {
    position: relative;
    margin-top: 1.125rem;
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 991px) {
  .section-top-title {
    margin-top: 2rem;
    margin-bottom: 3rem;
  }
}

.section-top-title figure.curly-line {
  position: absolute;
  top: 3rem;
  right: -2px;
  z-index: 2;
  margin: 0;
}

.section-top-title figure.curly-line.bottom {
  position: absolute;
  top: unset;
  right: unset;
  bottom: -30rem;
  left: 0;
}

@media (max-width: 2270px) {
  .section-top-title figure.curly-line.bottom {
    display: none !important;
  }
}

@media (max-width: 1850px) {
  .section-top-title figure.curly-line {
    display: none !important;
  }
}

.section-top-title h1,
.courses-top-title h1 {
  font-size: clamp(2.125rem, 5vw, 6rem);
  line-height: 1.1;
  text-align: center;
  margin: 0 auto 1rem auto;
  font-weight: 800;
}

.section-top-title-subscribe h1 {
  font-size: clamp(2.125rem, 5vw, 6rem);
  line-height: 1.1;
  text-align: center;
  margin: 0 auto 1rem auto;
  font-weight: 800;
}

.courses-top-title h1 .text-blue {
  color: #2f55ff;
  font-weight: 700;
}

.section-top-title p,
.courses-top-title p {
  max-width: 46rem;
  font-size: 1rem;
  text-align: center;
  margin: 0 auto;
}

.section-top-title-subscribe p {
  max-width: 46rem;
  font-size: 1rem;
  text-align: center;
  margin: 0 auto;
}

@media (min-width: 1200px) {
  .section-top-title h1,
  .courses-top-title h1 {
    font-size: 6rem;
  }
}

.section-top-title p a {
  font-weight: 500;
}

.section-top-title p a:hover {
  text-decoration: none;
}

.sort-inner-sj .hero-arrow {
  position: absolute;
  left: calc(100% - 14rem);
  top: -7.5em;
  width: 4.7em;
  height: auto;
  transform: rotate(45deg);
  opacity: 0.9;
  pointer-events: none;
}
@media (max-width: 1199px) {
  .hero-arrow {
    display: none;
  }
}

.courses-top-title h1 {
  position: relative;
}

.section-top-title .page-pretplata .button-holder {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}

.section-top-title .button-holder .btn {
  font-size: 1rem;
  width: 20rem;
}

.section-top-title .payment-slip {
  margin: 3.75rem 0;
}

.section-top-title .payment-slip .payment-slip-holder {
  width: 100%;
  padding: 1.25rem;
  display: flex;
  flex-wrap: wrap;
}

.section-top-title .payment-slip .payment-slip-title {
  width: 100%;
  text-align: right;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.section-top-title .payment-slip .payment-slip-section {
  position: relative;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  flex-direction: column;
  width: 50%;
}

.section-top-title .payment-slip .payment-slip-section.left {
  padding-right: 1.25rem;
  padding-bottom: 3rem;
}

.section-top-title .payment-slip .payment-slip-section.left::after {
  content: "";
  height: 89%;
  width: 1px;
  position: absolute;
  right: -0.125rem;
  top: 1.25rem;
}

.section-top-title .payment-slip .payment-slip-section.right {
  padding-left: 1.25rem;
  padding-bottom: 5rem;
}

.section-top-title .payment-slip .payment-fields-inline {
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.section-top-title
  .payment-slip
  .payment-fields-inline
  .payment-slip-field:not(:last-child) {
  width: 5rem;
  flex-shrink: 0;
  margin-right: 1rem;
}

.section-top-title
  .payment-slip
  .payment-fields-inline
  .payment-slip-field:last-child {
  flex: 1;
}

.section-top-title .payment-slip .payment-slip-field {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  width: 100%;
}

.section-top-title .payment-slip .payment-slip-field {
  margin-bottom: 0.71rem;
}

.section-top-title .payment-slip .payment-slip-field label {
  width: 100%;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.117rem;
}

.section-top-title .payment-slip .payment-slip-field .form-control {
  font-size: 1rem;
  font-weight: 600;
  height: 2.125rem;
  width: 100%;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}

.section-top-title .payment-slip .payment-slip-qr-holder {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-top: 0.625rem;
  padding-right: 2.813rem;
}

.section-top-title .payment-slip .payment-slip-qr-holder.mobile {
  display: none;
}

.section-top-title .payment-slip .payment-slip-qr {
  text-align: center;
}

.section-top-title .payment-slip .payment-slip-qr p {
  font-size: 0.594rem;
  font-weight: 600;
  text-align: center;
  margin-top: 0.25rem;
  margin-bottom: 0;
}

.section-top-title .payment-slip .payment-slip-options.left {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding-right: 1.25rem;
}

.section-top-title .payment-slip .payment-slip-signiture {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  margin-bottom: 1rem;
}

.section-top-title .payment-slip .payment-slip-signiture span {
  font-size: 0.688rem;
  font-weight: 600;
  padding: 0 1rem;
}

.section-top-title .payment-slip .payment-slip-date-reception {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.section-top-title .payment-slip .payment-slip-date-reception span {
  font-size: 0.688rem;
  font-weight: 600;
  padding: 0 1rem;
}

.section-top-title .payment-slip .form-check {
  margin-top: 1.688rem;
  margin-bottom: 0;
}

.section-top-title .payment-slip .form-check .form-check-input {
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  opacity: 1;
}

.section-top-title .payment-slip .form-check .form-check-label {
  padding-left: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 1;
}

.section-top-title .payment-slip .payment-slip-options.right {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding-left: 1.25rem;
}

.section-top-title .payment-slip .payment-slip-date-execution {
  display: flex;
  justify-content: flex-start;
  width: 100%;
}

.section-top-title .payment-slip .payment-slip-date-execution span {
  font-size: 0.688rem;
  font-weight: 600;
  padding: 0 1rem;
}

.section-top-title .payment-slip .print-payment-slip {
  position: relative;
  display: inline-flex;
  margin-top: 5.5rem;
  padding-left: 5rem;
}

.section-top-title .payment-slip .print-payment-slip svg {
  position: absolute;
  bottom: 100%;
  right: -4rem;
  width: 4rem;
  height: auto;
  -webkit-transform: rotate(55deg);
  -moz-transform: rotate(55deg);
  -ms-transform: rotate(55deg);
  -o-transform: rotate(55deg);
  transform: rotate(55deg);
}

.section-top-title .payment-slip .print-payment-slip .btn-link {
  padding: 0;
  height: 2.5rem;
}

.section-top-title .payment-info-holder {
  display: block;
  padding: 0 5rem;
}

.section-top-title .payment-info-holder p {
  max-width: unset;
  text-align: left;
  font-size: 0.875rem;
}

.section-top-title .payment-text {
  display: block;
  margin-bottom: 1.875rem;
}

.section-top-title .payment-text h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.section-top-title .payment-text p:last-child {
  margin-top: 1.25rem;
}

.section-top-title .payment-support h3 {
  font-size: 1rem;
  font-weight: 600;
}

/* ===== PRINT – uvek desktop raspored, bez sečenja ===== */
@media print {
  html,
  body {
    margin: 0;
    padding: 0;
  }

  /* sakrij sve ostalo */
  body * {
    visibility: hidden;
  }

  /* prikaži samo uplatnicu */
  .payment-slip,
  .payment-slip * {
    visibility: visible;
  }

  /* uplatnicu zalepimo na stranicu, bez fiksne širine u mm */
  .payment-slip {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    margin: 10mm; /* isti margin kao @page */
    width: auto; /* neka browser sam uklopi širinu */
    box-sizing: border-box;
  }

  @page {
    size: A4 portrait;
    margin: 10mm;
  }

  /* ne štampamo dugme i info tekst ispod uplatnice */
  .section-top-title .payment-slip .print-payment-slip,
  .section-top-title .payment-info-holder {
    display: none !important;
    visibility: hidden !important;
  }
}

@media screen and (max-width: 767.98px) {
  /* UPLATNICA WRAPPER */
  .section-top-title .payment-slip {
    margin: 2rem 0;
    width: 100%;
    overflow: visible;
  }

  .section-top-title .payment-slip .payment-slip-holder {
    padding: 1rem;
    display: block;
  }

  /* SEKCIJE – JEDNA ISPOD DRUGE */
  .section-top-title .payment-slip .payment-slip-section {
    width: 100% !important;
    padding: 0 !important;
    margin-bottom: 2rem;
    position: static !important;
  }

  /* UKLONI VERTIKALNU LINIJU */
  .section-top-title .payment-slip .payment-slip-section.left::after {
    display: none !important;
  }

  /* INLINE POLJA */
  .section-top-title .payment-slip .payment-fields-inline {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .section-top-title .payment-slip .payment-fields-inline .payment-slip-field {
    width: 100% !important;
    margin-right: 0 !important;
  }

  /* LABEL / INPUT */
  .section-top-title .payment-slip .payment-slip-field {
    margin-bottom: 1rem;
  }

  .section-top-title .payment-slip .payment-slip-field label {
    font-size: 0.8rem;
  }

  .section-top-title .payment-slip .payment-slip-field .form-control {
    height: 2.25rem;
    font-size: 1rem;
  }

  /* QR – PRIKAZUJ MOBILE */
  .section-top-title .payment-slip .payment-slip-qr-holder.desktop {
    display: none !important;
  }

  .section-top-title .payment-slip .payment-slip-qr-holder.mobile {
    display: flex !important;
    justify-content: flex-start;
    margin-top: 1.5rem;
    padding-right: 0;
  }

  /* OPTION SECTIONS (POTPIS – DATUMI) */
  .section-top-title .payment-slip .payment-slip-options {
    position: static !important;
    margin-top: 1.5rem;
    width: 100%;
  }

  .section-top-title .payment-slip .payment-slip-signiture,
  .section-top-title .payment-slip .payment-slip-date-reception,
  .section-top-title .payment-slip .payment-slip-date-execution {
    justify-content: flex-start !important;
    margin-bottom: 1rem;
  }

  .section-top-title .payment-slip .payment-slip-signiture span,
  .section-top-title .payment-slip .payment-slip-date-reception span,
  .section-top-title .payment-slip .payment-slip-date-execution span {
    padding: 0;
    font-size: 0.75rem;
  }

  /* CHECKBOX HITNO */
  .section-top-title .payment-slip .form-check {
    margin: 1rem 0 !important;
  }

  .section-top-title .payment-slip .form-check-label {
    font-size: 0.85rem;
  }

  /* PRINT BUTTON */
  .section-top-title .payment-slip .print-payment-slip {
    margin-top: 2rem !important;
    padding-left: 0 !important;
  }

  .section-top-title .payment-slip .print-payment-slip svg {
    display: none !important;
  }

  /* INFO ZONE ISPOD */
  .section-top-title .payment-info-holder {
    padding: 0 !important;
    margin-top: 2rem !important;
  }
}

/* ============================= */
/*        ČETIRI KARTICE         */
/* ============================= */

.news-listing {
  margin-top: 2rem;
  margin-bottom: 6rem;
}
.news-listing .news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 6px 24px rgba(2, 6, 23, 0.08);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.news-listing .news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.12);
}

/* Slika sa stabilnim odnosom */
.news-listing .news-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.news-listing .news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.45s ease;
}
.news-listing .news-card:hover .news-thumb img {
  transform: scale(1.05);
}

/* Telo vesti */
.news-listing .news-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.news-listing .news-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #374151;
  font-size: 0.75rem;
  margin-bottom: 8px;
}
.news-listing .news-badge {
  display: inline-block;
  background: #000000;
  color: #fff;
  padding: 2px 8px;
  border-radius: 0.2rem;
  font-weight: 400;
  font-size: 0.75rem;
}
.news-listing .news-dot {
  opacity: 0.6;
}

.news-listing .news-title {
  font-size: clamp(1.05rem, 1.1vw + 0.8rem, 1.4rem);
  line-height: 1.25;
  margin: 0 0 8px 0;
}

.news-listing .news-title a {
  position: relative;
  color: #222;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 1.125rem;
}

.news-listing .news-title a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

/* Hover efekat kao kod .course-item-box */
.news-listing .news-title a:hover {
  color: #000;
}

.news-listing .news-title a:hover::after {
  width: 100%;
}

.news-listing .news-excerpt {
  color: #374151;
  line-height: 1.4;
  margin: 8px 0 30px 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  flex-grow: 1;
}

.news-listing .btn {
  display: flex;
  align-items: center;
  justify-content: right;
  padding: 0;
}

.news-listing .btn svg {
  width: 1.375rem;
  height: 1.375rem;
}

.news-listing .news-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
  color: #1d4ed8;
  text-decoration: none;
}
.news-listing .news-more:hover {
  color: #0b62ff;
  text-decoration: underline;
}

/* Responsive grid: 4 na desktopu, 2 na tabletima, 1 na telefonu */
@media (max-width: 1199px) {
  .news-listing .col-xl-3 {
    width: 50%;
    flex: 0 0 50%;
  }
}
@media (max-width: 767px) {
  .news-listing .col-xl-3,
  .news-listing .col-lg-6 {
    width: 100%;
    flex: 0 0 100%;
  }
}

/* === Kontejner sekcije === */
.news-detail .container-custom {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === Članak === */
.news-article {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* === Slika — full width, ali responzivna === */
.news-article .news-cover {
  width: 100%;
  margin-bottom: 20px;
}

.news-article .news-cover img {
  width: 100%;
  max-width: 1600px;
  height: auto;
  display: block;
  border-radius: 0.5rem;
  margin: 0 auto;
}

/* === Meta podaci (kategorija i datum) === */
.news-article .news-meta {
  max-width: 1400px;
  width: 100%;
  margin: 10px auto 30px;
  padding: 0 20px;
  color: #555;
  font-size: 0.95rem;
  text-align: left;
}

/* === Tekst vesti === */
.news-article .news-content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px 60px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #222;
}

/* === Linkovi === */
.news-article .news-content a {
  color: #0066ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 102, 255, 0.3);
  transition: all 0.2s ease;
}

.news-article .news-content a:hover {
  color: #0033cc;
  border-bottom-color: rgba(0, 51, 204, 0.6);
}

/* === Mobilni prilagođeni prikaz === */
@media (max-width: 768px) {
  .news-article .news-content,
  .news-article .news-meta {
    padding: 0 16px 40px;
  }

  .news-article .news-cover img {
    border-radius: 0;
  }
}

.news-meta .news-badge {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 2px 8px;
  border-radius: 0.25rem;
  font-weight: 400;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 6px;
}

.news-meta .news-dot {
  color: #555;
  opacity: 0.6;
  margin: 0 6px;
}

.news-meta .news-date {
  color: #555;
  font-size: 0.9rem;
}
/* =============================== */
/* HERO SLIDER — BANER VARIJANTA   */
/* =============================== */

/* Pojas – boju menja tvoj fade JS preko data-bg */
.hero-band {
  height: 700px;
  transition: background 0.6s ease;
  overflow: hidden;
  margin-bottom: 4rem;
}

/* Track: tvoj JS ga ne pomera (fade radi preko opacity), ali držimo punu visinu */
.hs-track {
  position: relative;
  height: 100%;
}

/* Track: tvoj JS ga ne pomera (fade radi preko opacity), ali držimo punu visinu */

@media (max-width: 500px) {
  .hs-track {
    position: relative;
    height: 96%;
  }
}

/* Svaki slajd je apsolutno postavljen jedan preko drugog (za fade) */
.hs-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hs-slide:first-child {
  opacity: 1;
} /* početni */

.hs-inner {
  height: 100%;
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr; /* levo tekst, desno slika */
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  padding: 0 15px;
}

/* Leva kolona – tekst */
.hs-copy {
  color: #ffffff;
  max-width: 800px;
}
.hs-eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  opacity: 0.8;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.hs-title {
  font-weight: 800;
  font-size: clamp(1.25rem, 3.5vw, 3.5rem);
  line-height: 1.05;
  margin: 0 0 1rem 0 !important;
}
.pill {
  display: inline-block;
  padding: 0.15em 0.5em;
  border-radius: 0.2em;
  color: #fffcfc;
}
.pill-blue {
  background: #7dd3fc;
}
.pill-yellow {
  background: #f7d413;
}
.pill-pink {
  background: #f9a8d4;
}

.hs-lead {
  font-size: clamp(0.75rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: #ffffff;
  margin: 0 0 2rem 0;
}

/* Dugme – lokalno, ne dira globalni .btn */
.hs-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #203dff;
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  border-radius: 0.5rem;
  padding: 0.9rem 4rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.hs-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

/* Desna kolona – slika preko cele visine */
.hs-media {
  position: relative;
  height: 100%;
}
.hs-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Hero kontejner mora biti relativan da bi dots "nalegle" na dno */
.hero-band {
  position: relative; /* ← bitno */
  height: 600px;
  transition: background 0.6s ease;
  overflow: hidden;
}

/* Dots */
.hs-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20; /* ← iznad slajda */
}

.hs-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}

.hs-dot:hover {
  transform: scale(1.3);
  background: rgba(255, 255, 255, 0.8);
}
.hs-dot.is-active {
  background: #fff;
  transform: scale(1.5);
}

/* Responsivno – na užem ekranu ide jedan ispod drugog */
@media (max-width: 992px) {
  .hs-inner {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .hs-media {
    order: -1;
    height: 44%;
  }
  .hs-copy {
    text-align: left;
  }
}
@media (max-width: 600px) {
  .hero-band {
    height: 520px;
  }
  .hs-media {
    height: 40%;
  }
}

/* svi slajdovi su u istom “sloju” (fade preko opacity) */
#heroTrack > .hs-slide,
#heroTrack > .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  pointer-events: none; /* <<< neaktivni ne blokiraju klik */
  z-index: 0;
}

/* aktivni slajd je klikabilan i iznad */
#heroTrack > .hs-slide.is-active,
#heroTrack > .hero-slide.is-active {
  opacity: 1;
  pointer-events: auto; /* <<< dugmad rade */
  z-index: 1;
}

@keyframes kenburns {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.07);
  }
}
.is-active .hero-img {
  animation: kenburns var(--kb-dur, 9000ms) ease-in-out forwards;
}

/* početno stanje svih tekst elemenata */
.hs-copy > * {
  opacity: 0;
  transform: translateY(14px);
}

/* ulazna animacija kada slajd dobije .is-active */
.is-active .hs-copy > * {
  animation: hs-fadeUp 0.6s ease forwards;
}

/* lagano “stagger” kašnjenje po redovima */
.is-active .hs-copy .hs-eyebrow {
  animation-delay: 0.05s;
}
.is-active .hs-copy .hs-title {
  animation-delay: 0.15s;
}
.is-active .hs-copy .hs-lead {
  animation-delay: 0.28s;
}
.is-active .hs-copy .hs-btn {
  animation-delay: 0.42s;
}

/* nežna animacija i za desnu sliku (po želji) */
.is-active .hs-media img {
  animation: hs-imgIn 0.8s ease forwards;
}

@keyframes hs-fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hs-imgIn {
  from {
    opacity: 0;
    transform: scale(1.02);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* animacija slike – pokrij oba slučaja (sa .hero-img klasom ili bez) */
.is-active .hero-img,
.is-active .hs-media img {
  animation: kenburns var(--kb-dur, 9000ms) ease-in-out forwards;
}

/* ulazna animacija desne slike – pokrij oba selektora */
.is-active .hs-media img {
  animation: hs-imgIn 0.8s ease forwards;
}

/* =============================== */
/* RESPONSIVE                     */
/* =============================== */

/* <= 1600 – bez promene dizajna */
@media (max-width: 1600px) {
  .hero-band {
    height: 600px;
  } /* ostaje isto */
}

/* <= 991 – SKLONI SLIKU, zadrži tekst */
@media (max-width: 991px) {
  .hero-band {
    height: 500px;
  }

  /* sakrij desnu kolonu sa slikom */
  .hs-media {
    display: none !important;
  }
  /* (ako negde imaš .hero-img klasu, dodatno:) */
  .hero-slide .hero-img,
  .hs-media img {
    display: none !important;
  }

  /* jedan stub – samo tekst */
  .hs-inner {
    grid-template-columns: 1fr;
    padding: 15px;
  }
  .hs-copy {
    max-width: 100%;
    margin: 0 auto;
  }
}

/* <= 600 – samo smanji visinu, ne krij celo #heroBand */
@media (max-width: 500px) {
  .hero-band {
    height: 360px;
    margin-bottom: 30px;
  }
}

/* Purchase Course */
.section-purchase-course {
  position: relative;
  margin-bottom: 4rem;
}

.section-purchase-course figure.curly-line {
  position: absolute;
  top: 7rem;
  right: -2px;
  z-index: 2;
  margin: 0;
}

.section-purchase-course .media {
  position: relative;
  align-items: flex-start;
  z-index: 3;
}

.section-purchase-course .media-image {
  max-width: 29.375rem;
  margin-left: 0.625rem;
  margin-right: 0;
}

.section-purchase-course .media-body .media-title {
  margin-bottom: 1.875rem;
}

.section-purchase-course .media-body .media-title h1 {
  font-size: 4rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
}

.section-purchase-course .media-body .media-title h1 span {
  line-height: 1.3;
}

.section-purchase-course .media-body .media-title p {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0;
}

.section-purchase-course .media-body .media-title p svg {
  width: 1.375rem;
  height: auto;
  margin-left: 0.5rem;
}

.section-purchase-course .media-body .media-content {
  margin-bottom: 0;
}

.section-purchase-course .media-body .media-content .counter {
  font-size: 4rem;
  font-weight: 600;
}

.section-purchase-course .media-body .media-content .promo-orange-box {
  display: inline-block;
  padding: 0.5rem;
  margin-top: 1rem;
}

.section-purchase-course .media-body .media-content .promo-orange-box p {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

/* Section Purchase */
.section-purchase {
  position: relative;
}

.section-purchase figure.curly-line {
  position: absolute;
  bottom: 50px;
  left: 0;
  z-index: 2;
  margin: 0;
}

@media (max-width: 1600px) {
  .section-purchase figure.curly-line {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  .section-purchase .col-aside-page,
  .section-purchase .col-page-content {
    order: 0;
    float: none !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    min-height: 0px !important;
  }
  .section-purchase .col-aside-page {
    order: -1 !important;
    margin-bottom: 2rem;
  }
}

@media (min-width: 992px) {
  /* aside levo ~25% */
  .section-purchase .col-aside-page.col-lg-3 {
    flex: 0 0 25% !important;
    max-width: 25% !important;
    width: 25% !important;
  }

  /* content desno — bez width:75%; zauzmi ostatak */
  .section-purchase .col-page-content.col-lg-9 {
    float: none !important;
    flex: 1 0 0 !important; /* raste, bez fiksne širine */
    max-width: none !important;
    width: auto !important;
  }
}

.section-purchase .aside-item-col .aside-item {
  position: relative;
  min-height: 6rem;
  height: 100%;
}

.section-purchase .aside-item-col .aside-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
}

.section-purchase .col-item:last-child .aside-item::after {
  display: none;
}

.section-purchase .aside-item-col .aside-item p {
  margin-bottom: 0;
}

.section-purchase .aside-item-col {
  width: 20rem;
  margin-right: 4rem;
  margin-top: 10px;
}

@media (max-width: 786px) {
  .section-purchase .aside-item-col {
    width: 20rem;
    margin-right: 4rem;
    margin-bottom: 20px;
  }
}

.section-purchase .col-item:not(:first-child) {
  margin-top: 1.75rem;
}

.section-purchase .aside-item-col .aside-item h3 {
  font-size: 1rem;
  font-weight: 600;
}

.section-purchase .aside-item-col .aside-item h3 a {
  text-decoration: none;
}

.section-purchase .aside-item-col .aside-item h3 a:hover {
  text-decoration: underline;
}

.section-purchase .address-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 10rem;
  height: 100%;
}

.section-purchase .address-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
}

.section-purchase .address-item.show-address {
  align-items: flex-start;
}

.section-purchase .address-item .payment-address {
  display: block;
  width: 100%;
}

.section-purchase .address-item .payment-address ul {
  padding: 0;
  margin-bottom: 3.2rem;
}

.section-purchase .address-item .payment-address ul li {
  list-style: none;
}

.section-purchase .address-item .payment-address ul li:not(:last-child) {
  margin-bottom: 0.5rem;
}

.section-purchase .large-check {
  padding: 2.75rem 1.75rem;
  -webkit-border-radius: 0.625rem;
  -moz-border-radius: 0.625rem;
  border-radius: 0.625rem;
  border: 1px solid transparent;
}

.section-purchase .large-check .form-check-input {
  margin-top: 1.8rem;
}

.section-purchase .large-check label {
  cursor: pointer;
}

.section-purchase .large-check .media {
  align-items: flex-start;
}

.section-purchase .large-check .media-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  font-size: 1.5rem;
  font-weight: 600;
  margin-right: 1.25rem;
  -webkit-border-radius: 0.625rem;
  -moz-border-radius: 0.625rem;
  border-radius: 0.625rem;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

@media (max-width: 429px) {
  .section-purchase .large-check .media-image {
    width: 4rem;
    height: 4rem;
  }
}

.section-purchase .large-check .media-body {
  position: relative;
  margin-top: 0.5rem;
}

.section-purchase .large-check .media-body .course-savings {
  position: absolute;
  top: -1.625rem;
  left: 0;
  display: inline-block;
}

.section-purchase .large-check .media-body .course-savings .savings-holder {
  position: relative;
  display: inline-block;
  padding: 0 1.5rem;
  font-weight: 400;
  -webkit-border-radius: 0.25rem;
  -moz-border-radius: 0.25rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
}

.section-purchase
  .large-check
  .media-body
  .course-savings
  .savings-holder
  span {
  position: absolute;
  top: -50%;
  right: -1.25rem;
  padding: 0 0.25rem;
  font-weight: 600;
  -webkit-border-radius: 0.25rem;
  -moz-border-radius: 0.25rem;
  border-radius: 0.25rem;
}

.section-purchase .large-check .media-body h3 {
  font-size: 1rem;
  font-weight: 600;
}

.section-purchase .large-check .course-price {
  display: flex;
  align-items: center;
}

.section-purchase .large-check .course-price .price-holder {
  font-size: 2.5rem;
  line-height: 1;
}

.price-holder-m {
  margin-top: 20px;
  font-size: 2.5rem;
  line-height: 1;
}

.section-purchase .large-check .course-price .price-text {
  position: relative;
  top: 0.188rem;
  margin-left: 0.5rem;
}

.section-purchase .large-check .course-price .price-text p {
  font-size: 0.75rem;
  margin-bottom: 0;
  line-height: 1;
}

.section-purchase .large-check .course-price .price-text p:first-child {
  margin-bottom: 0;
}

.section-purchase .medium-check-col:not(:last-child) {
  margin-bottom: 1.25rem;
}

.section-purchase .medium-check {
  -webkit-border-radius: 0.625rem;
  -moz-border-radius: 0.625rem;
  border-radius: 0.625rem;
}

.section-purchase .medium-check .form-check-input {
  margin-top: 1.25rem;
}

.section-purchase .medium-check label {
  cursor: pointer;
}

.section-purchase .medium-check .media {
  align-items: flex-start;
}

.section-purchase .medium-check .media-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
  margin-right: 1.25rem;
  -webkit-border-radius: 0.625rem;
  -moz-border-radius: 0.625rem;
  border-radius: 0.625rem;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.section-purchase .medium-check .media-image svg {
  width: 1.875rem;
  height: auto;
}

.section-purchase .medium-check .media-body {
  position: relative;
  margin-top: 0.5rem;
}

.section-purchase .medium-check .media-body h3 {
  font-size: 1rem;
  font-weight: 600;
}

.section-purchase .price-total {
  position: relative;
  margin-top: 4.375rem;
  margin-bottom: 8.75rem;
}

.section-purchase .price-total svg {
  position: absolute;
  bottom: 100%;
  left: 13.125rem;
  width: 4rem;
  height: auto;
  -webkit-transform: rotate(50deg);
  -moz-transform: rotate(50deg);
  -ms-transform: rotate(50deg);
  -o-transform: rotate(50deg);
  transform: rotate(50deg);
}

.section-purchase .price-total .course-price {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.section-purchase .price-total .course-price .price-holder {
  font-size: 2.5rem;
  line-height: 1;
}

.section-purchase .price-total .course-price .price-text {
  position: relative;
  top: 0.188rem;
  margin-left: 0.5rem;
}

.section-purchase .price-total .course-price .price-text p {
  font-size: 0.75rem;
  margin-bottom: 0;
  line-height: 1;
}

.section-purchase .price-total .course-price .price-text p:first-child {
  margin-bottom: 0;
}

.section-purchase .price-total h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem !important;
}

.section-purchase .price-total .button-holder {
  margin-top: 1.75rem;
}

.section-purchase .price-total .button-holder .btn {
  font-size: 1rem;
  width: 20rem;
}

/* Cancel - Payment */
.section-purchase.aside-with-content .col-aside-page {
  width: 20rem;
  margin-right: 4rem;
}

.section-purchase.aside-with-content .aside-item-col {
  margin-right: 0;
}

.section-purchase.aside-with-content .col-page-content {
  display: block;
  min-width: 0;
  margin-bottom: 8.75rem;
  min-height: 400px;
}

.section-purchase.aside-with-content .title-holder {
  position: relative;
  padding-bottom: 1.25rem;
  margin-bottom: 2rem;
}

.section-purchase.aside-with-content .title-holder::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
}

.section-purchase.aside-with-content .title-holder h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-purchase.aside-with-content .title-holder p {
  margin-bottom: 0;
}

.section-purchase.aside-with-content .title-holder p.credit-card {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1rem;
}

.section-purchase.aside-with-content .content ul {
  padding-left: 3.75rem;
  list-style: none;
}

.section-purchase.aside-with-content .content ul li {
  position: relative;
}

.section-purchase.aside-with-content .content ul li:not(:last-child) {
  margin-bottom: 0.25rem;
}

.section-purchase.aside-with-content .content ul li::before {
  content: "-";
  position: absolute;
  left: -1.875rem;
}

.section-purchase.aside-with-content .content .text-large {
  font-size: 1rem;
  font-weight: 600;
}

.section-purchase.aside-with-content .content .button-holder {
  margin-top: 3.75rem;
}

.section-purchase.aside-with-content .content .button-holder .btn {
  font-size: 1rem;
  width: 20rem;
}

.section-purchase.aside-with-content .content .button-holder p {
  margin-top: 1.25rem;
}

.section-purchase.aside-with-content .large-check-col {
  margin-bottom: 3.75rem;
}

.section-purchase.aside-with-content .price-total {
  margin-bottom: 0;
}

/* Credit Card List */
.credit-card-col {
  position: relative;
  padding-bottom: 1.875rem;
}

.credit-card-col::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
}

.credit-card-col:not(:last-child) {
  margin-bottom: 1.875rem;
}

.credit-card-holder {
  position: relative;
  display: block;
  padding: 1.875rem 1.25rem;
  border: 1px solid transparent;
  -webkit-border-radius: 0.625rem;
  -moz-border-radius: 0.625rem;
  border-radius: 0.625rem;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.credit-card-holder .media {
  align-items: flex-start;
}

.credit-card-holder .media-image {
  margin-right: 1.25rem;
}

.credit-card-holder .media-image svg {
  width: 2.5rem;
  height: auto;
}

.credit-card-holder .media-body h3 {
  font-size: 1rem;
  font-weight: 600;
}

.credit-card-holder .media-body p:last-child {
  margin-bottom: 0;
}

/* Filters Holder */
.filters-holder {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.875rem;
}

.media-action {
  margin-left: auto;
}

.media-action .btn {
  background-color: #273dff;
  color: #fff;
  padding: 10px 34px;
  border-radius: 5px;
  border: none;
  font-weight: 400;
  font-size: 0.875rem;
  transition: background 0.2s ease;
}

.credit-card-holder .media-action {
  align-self: flex-end;
}

.media-action .btn:hover {
  background-color: #000000;
}

.filters-holder > .btn {
  margin-right: 1.5rem;
  flex-shrink: 0;
}

/* Filter Controls */
.active-filters-holder {
  display: flex;
  align-items: center;
  position: relative;
  overflow-x: scroll;
  overflow: -moz-scrollbars-none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.active-filters-holder .controls-container {
  position: absolute;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.controls-container .control {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.813rem;
  height: 2.813rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: -moz-none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  z-index: 1;
}

.active-filters-holder .controls-container .control:not(:last-child) {
  margin-right: 0.625rem;
}

.active-filters-holder .controls-container .control svg {
  width: 1rem;
  height: auto;
}

/* Active Filters */
.active-filters-slider {
  position: relative;
  overflow-x: scroll;
  overflow: -moz-scrollbars-none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.active-filters-mask {
  overflow-x: visible;
  padding: 0;
}

.active-filters-content {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  white-space: normal;
  overflow: -moz-scrollbars-none;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
}

/* .active-filters-content .btn:first-child {
    position: sticky;
    position: -webkit-sticky;
    z-index: 2;
    left: 0;
}

.active-filters-content .btn:nth-child(2) {
    position: relative;
    left: 0;
} */

.active-filters-content .btn {
  display: flex;
  align-items: center;
  padding: 0;
  margin-right: 1.25rem;
  text-decoration: none;
  height: 2.813rem;
}

.active-filters-content .btn:hover {
  text-decoration: underline;
  text-underline-offset: 0.188rem;
}

.active-filters-content .btn svg {
  width: 1rem;
  height: 1rem;
  margin-left: 0.5rem;
}

/* wrapper – bez pozadine */
.filters-sj {
  padding: 0;
  padding-right: 60px;
}

/* dugme “Filteri pretrage” */
.btn-filter-sj {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.9rem 1.6rem;
  border: 1px solid #3c4153;
  border-radius: 2rem;
  background: transparent;
  color: #1d1d1f;
  font-weight: 600;
}
.btn-filter-sj:hover {
  border-color: #2f55ff;
  color: #2f55ff;
}
.btn-filter-sj .icon {
  display: inline-flex;
}

/* grupa */
.filter-group-sj {
  margin: 0;
}
.fg-head-sj {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: 0;
  padding: 0.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: #1d1d1f;
}
.fg-head-sj .chev {
  transition: transform 0.2s ease;
}
.fg-body-sj {
  padding: 0.25rem 0 0.5rem;
}

.fg-head-sj[aria-expanded="true"] .chev {
  transform: rotate(180deg);
}

/* tačkasta linija */
.dot-sep-sj {
  height: 1px;
  margin: 1rem 0 1.25rem;
  background: radial-gradient(currentColor 1px, transparent 1px) repeat-x;
  background-size: 8px 1px;
  background-position: left center;
  opacity: 0.35;
}

/* checkbox / radio bez pozadine */
.check-sj {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.35rem 0;
  cursor: pointer;
}
.check-sj input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.check-sj .box {
  width: 18px;
  height: 18px;
  border: 1px solid #42465c;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.check-sj input:checked + .box {
  border-color: #2f55ff;
  box-shadow: 0 0 0 4px rgba(47, 85, 255, 0.12);
}
.check-sj .box::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #2f55ff;
  transform: scale(0);
  transition: transform 0.2s ease;
}
.check-sj input:checked + .box::after {
  transform: scale(1);
}
.check-sj .label {
  font-size: 0.875rem;
}

.check-sj .label {
  position: relative;
  display: inline-block;
  color: inherit; /* koristi trenutnu boju fonta */
  font-weight: 400; /* možeš promeniti po želji */
  text-decoration: none; /* da nema default underline */
  cursor: pointer;

  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; /* start – linija nevidljiva */
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.3s ease;
}

.check-sj .count {
  color: #6b7280; /* gray */
  font-size: 0.875rem;
  margin-left: 4px;
}

.check-sj .label:hover,
.check-sj .label:focus-visible {
  background-size: 100% 1px; /* animirano popunjavanje underline-a */
}

.check-sj .label:focus-visible {
  outline: none;
}

.check-sj .muted {
  color: #6b6b6b;
}

.dot-sep-sj {
  width: 100%;
  height: 1px;
  background-image: repeating-linear-gradient(
    to right,
    #42465c 0,
    #42465c 2px,
    transparent 2px,
    transparent 8px
  );
}

/* pilovi */
.pill-wrap {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.pill-sj {
  padding: 0.6rem 1rem;
  border: 1px solid #42465c;
  border-radius: 1.75rem;
  background: transparent;
  color: #1d1d1f;
  font-weight: 600;
  line-height: 1;
  transition: color 0.2s, border-color 0.2s, box-shadow 0.2s;
  font-size: 0.725rem;
}
.pill-sj:hover {
  border-color: #2f55ff;
  color: #2f55ff;
  box-shadow: 0 0 0 4px rgba(47, 85, 255, 0.08);
}
.pill-sj.is-active {
  border-color: #2f55ff;
  box-shadow: 0 0 0 4px rgba(47, 85, 255, 0.12);
}
.pill-sj span {
  opacity: 0.7;
}

/* responsive sitno zatezanje */
@media (max-width: 991.98px) {
  .fg-head-sj {
    font-size: 1.125rem;
  }
  .pill-sj {
    padding: 0.55rem 0.9rem;
  }
}

/* Page pagination */
.page-pagination-main-holder {
  padding: 1.25rem 0;
  margin: 0 0 3.75rem 0;
}

.page-pagination-main-holder .page-pagination-holder {
  display: flex;
  align-items: center;
}

.page-pagination-main-holder .page-pagination-holder.content-left {
  justify-content: flex-start;
}

.page-pagination-main-holder .page-pagination-holder.content-left label {
  margin-right: 1.25rem;
  margin-bottom: 0;
  font-size: 0.875rem;
  font-weight: 500;
  width: auto;
  padding-left: 0;
  padding-right: 0;
}

.page-pagination-main-holder
  .page-pagination-holder.content-left
  .form-control {
  width: 4.5rem;
  height: 3.125rem;
  font-size: 1rem;
}

.page-pagination-main-holder .page-pagination-holder.content-center {
  justify-content: center;
}

.page-pagination-main-holder
  .page-pagination-holder.content-center
  .page-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 3.125rem;
}

.page-pagination-main-holder
  .page-pagination-holder.content-center
  .page-pagination
  svg {
  width: 3.125rem;
  height: auto;
}

.page-pagination-main-holder
  .page-pagination-holder.content-center
  .page-pagination
  .icon-holder {
  position: relative;
}

.page-pagination-main-holder
  .page-pagination-holder.content-center
  .page-pagination
  .icon-holder
  .btn {
  padding: 0;
}

.page-pagination-main-holder
  .page-pagination-holder.content-center
  .page-pagination
  .icon-holder
  .btn
  .hover-notification {
  position: absolute;
  top: -1.875rem;
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  font-weight: 500;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.page-pagination-main-holder
  .page-pagination-holder.content-center
  .page-pagination
  .icon-holder
  .btn
  .hover-notification
  svg {
  position: relative;
  top: 0.75rem;
  width: 2.5rem;
  height: auto;
  flex-shrink: 0;
}

.page-pagination-main-holder
  .page-pagination-holder.content-center
  .page-pagination
  .icon-holder
  .btn
  .hover-notification
  span {
  position: relative;
  top: 0;
}

.page-pagination-main-holder
  .page-pagination-holder.content-center
  .page-pagination
  .icon-holder
  .btn:hover
  .hover-notification {
  opacity: 1;
  visibility: visible;
}

.page-pagination-main-holder
  .page-pagination-holder.content-center
  .page-pagination
  .icon-holder:first-child
  .btn
  .hover-notification {
  right: 100%;
}

.page-pagination-main-holder
  .page-pagination-holder.content-center
  .page-pagination
  .icon-holder:first-child
  .btn
  .hover-notification
  svg {
  order: 2;
  -webkit-transform: rotate(25deg);
  -moz-transform: rotate(25deg);
  -ms-transform: rotate(25deg);
  -o-transform: rotate(25deg);
  transform: rotate(25deg);
}

.page-pagination-main-holder
  .page-pagination-holder.content-center
  .page-pagination
  .icon-holder:first-child
  .btn
  .hover-notification
  span {
  order: 1;
  right: 0.313rem;
}

.page-pagination-main-holder
  .page-pagination-holder.content-center
  .page-pagination
  .icon-holder:last-child
  .btn
  .hover-notification {
  left: 100%;
}

.page-pagination-main-holder
  .page-pagination-holder.content-center
  .page-pagination
  .icon-holder:last-child
  .btn
  .hover-notification
  svg {
  order: 1;
  -webkit-transform: rotate(-25deg);
  -moz-transform: rotate(-25deg);
  -ms-transform: rotate(-25deg);
  -o-transform: rotate(-25deg);
  transform: rotate(-25deg);
}

.page-pagination-main-holder
  .page-pagination-holder.content-center
  .page-pagination
  .icon-holder
  .btn.disabled:hover
  .hover-notification {
  opacity: 0;
  visibility: hidden;
}

.page-pagination-main-holder
  .page-pagination-holder.content-center
  .page-pagination
  .page-pagination-pages-count {
  width: 9.375rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

.page-pagination-main-holder
  .page-pagination-holder.content-center
  .page-pagination
  .icon-holder:last-child
  .btn
  .hover-notification
  span {
  order: 2;
  left: 0.313rem;
}

.page-pagination-main-holder .page-pagination-holder.content-right {
  justify-content: flex-end;
}

.page-pagination-main-holder
  .page-pagination-holder.content-right
  .page-pagination-total-pages {
  font-size: 1rem;
  margin-right: 1.25rem;
}

.page-pagination-main-holder
  .page-pagination-holder.content-right
  .form-select {
  width: 4.625rem;
  font-size: 1rem;
}

/* Contact */
.section-contact {
  position: relative;
  margin-bottom: 2.75rem;
  margin-top: 0rem;
}

.section-contact figure.curly-line {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  margin: 0;
}

@media (max-width: 1600px) {
  .section-contact figure.curly-line {
    display: none;
  }
}

.section-contact .contact-info {
  padding-right: 10rem;
}

@media (max-width: 991px) {
  .section-contact .contact-info {
    padding-right: 0rem;
    margin-bottom: 3rem;
  }
}

.section-contact .contact-info > p:last-child {
  font-size: 0.75rem;
  margin-bottom: 0;
}

.section-contact .contact-info .title-holder {
  margin-bottom: 1.875rem;
}

.section-contact .contact-info .title-holder h2 {
  font-size: 1.25rem;
  margin-bottom: 0;
}

.section-contact .contact-info .info-holder {
  margin-bottom: 1.875rem;
}

.section-contact .contact-info .info-holder p {
  margin-bottom: 0.5rem;
}

.section-contact .contact-info .info-holder p:last-child {
  margin-bottom: 0;
}

.section-contact .contact-info .info-holder a {
  text-decoration: none;
}

.section-contact .contact-info .info-holder a:hover {
  text-decoration: underline;
}

.section-contact form .button-holder {
  margin-top: 3.75rem;
}

.section-contact form .button-holder .btn {
  width: 15.625rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-contact form .button-holder p {
  margin-bottom: 0;
  font-size: 0.75rem;
}

/* Footer */
.footer {
  position: relative;
  right: 0;
  bottom: 0;
  left: 0;
  margin-top: auto;
}

.footer .footer-wrapper {
  position: relative;
}

.footer .footer-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
}

.footer .footer-content {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  width: 100%;
  padding: 2.5rem 0;
}

.footer .footer-content h3 {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  min-height: 1.875rem;
}

.footer .footer-content .footer-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-basis: 100%;
  flex-wrap: wrap;
  padding: 0;
  margin-bottom: 0;
  overflow: hidden;
}

.footer .footer-content .footer-nav li {
  list-style: none;
  display: flex;
  width: 100%;
  white-space: nowrap;
}

.footer .footer-content .footer-nav li:first-child a {
  padding-top: 0;
}

.footer .footer-content .footer-nav a {
  font-weight: 500;
  padding: 0.125rem 0;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  text-decoration: none;
}

.footer .footer-content .footer-nav a:hover {
  text-decoration: underline;
}

.footer .footer-content .footer-text {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1.985rem;
  -webkit-border-radius: 0.5rem;
  -moz-border-radius: 0.5rem;
  border-radius: 0.5rem;
}

.footer .social-links {
  display: flex;
  justify-content: flex-end;
  position: relative;
  margin-bottom: 1.25rem;
}

.footer .social-links ul {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  margin: 0;
}

.footer .social-links ul li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  list-style: none;
}

.footer .social-links ul li a {
  text-decoration: none;
  -webkit-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}

.footer .social-links ul li a:hover {
  text-decoration: none;
  transform: scale(1.07, 1.07);
}

.footer .social-links ul li svg {
  width: 2rem;
  height: 2rem;
}

.footer .social-links ul li:not(:last-child) {
  margin-right: 0.5rem;
}

.footer-bottom-holder {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 1.125rem 0;
}

.footer .content-holder.content-left ul {
  padding: 0;
  margin: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.footer .content-holder.content-left ul li {
  list-style: none;
  font-size: 0.875rem;
}

.footer .content-holder.content-left ul li:not(:last-child) {
  margin-right: 1rem;
}

.footer .content-holder.content-left ul li a {
  text-decoration: none;
}

.footer .content-holder.content-left ul li a:hover {
  text-decoration: underline;
}

.footer .content-holder.content-right {
  display: flex;
  align-items: flex-end;
}

.footer .content-holder.content-right p {
  margin-bottom: 0;
}

.footer .content-holder.content-right p a {
  text-decoration: none;
  font-weight: 500;
}

.footer .content-holder.content-right p a:hover {
  text-decoration: underline;
}

.footer .content-holder.content-right p svg {
  width: 1.563rem;
  height: 1.563rem;
  margin-left: 0.313rem;
}

.footer .payment-cards {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 2.5rem;
}

.footer .payment-cards .payment-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 3.125rem;
  padding: 0.5rem;
  overflow: hidden;
  -webkit-border-radius: 0.375rem;
  -moz-border-radius: 0.375rem;
  border-radius: 0.375rem;
}

.footer .payment-cards .payment-item:not(:last-child) {
  margin-right: 1rem;
}

.footer .payment-cards .payment-item img {
  max-height: 100%;
  width: auto;
}

/* =========================================
   INSPIRA GRUPA FOOTER BLOK (clean)
========================================= */
.inspira-group {
  background: #000;
  text-align: center;
  padding: 60px 0 68px;
  margin-top: 30px;
}

.inspira-inner {
  min-height: 200px;
  grid-auto-flow: column;
  align-items: center;
  gap: 24px;
}

/* Gornji deo: logo + linije */
.inspira-top {
  display: flex;
  align-items: center; /* linije i logo u istoj visini */
  justify-content: center;
  gap: 60px;
  margin-bottom: 40px;
}
.inspira-line {
  flex: 1;
  height: 1px;
  background: #cbd5e1;
  max-width: 900px;
  transform: translateY(20px); /* blago niže od sredine – kao na referenci */
}
.inspira-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transform: translateY(2px);
}
.inspira-logo {
  height: 130px;
}
.inspira-sub {
  color: #16a34a;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Donji deo: leve/desne grupe brendova */
.inspira-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 120px;
  max-width: 1200px;
  margin: 0 auto; /* centriraj ceo blok */
  width: 100%;
}
.inspira-left,
.inspira-right {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* Spusti desnu grupu samo na većim ekranima */
@media (min-width: 992px) {
  .inspira-right {
    transform: translateY(70px);
  }
}
@media (max-width: 991px) {
  .inspira-right {
    transform: none;
  }
}

/* Logoi i raspored */
.inspira-infostud {
  height: 32px;
  margin-bottom: 5px;
}
.inspira-brands-left,
.inspira-brands-right {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 24px 30px;
}
.inspira-brands-left img,
.inspira-brands-right img {
  height: 20px;
  object-fit: contain;
  transition: opacity 0.2s ease;
  opacity: 0.9;
}
.inspira-brands-left img:hover,
.inspira-brands-right img:hover {
  opacity: 1;
}

/* Link oko logotipa — da ne remeti layout */
.inspira-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0; /* uklanja prazne klik zone ispod slike */
  text-decoration: none;
}

/* hover/focus efekti konzistentni sa postojećim opacity hoverom */
.inspira-link img {
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.inspira-link:hover img {
  opacity: 1;
  transform: translateY(-1px);
}

/* tastatura: jasna fokus kontura */
.inspira-link:focus-visible {
  outline: 2px solid #22c55e; /* zelena */
  outline-offset: 4px;
  border-radius: 6px;
}

/* Responsive */
@media (max-width: 991px) {
  .inspira-bottom {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  /* separator između Infostud grupe i ostalih */
  .inspira-left {
    border-bottom: 1px solid #cbd5e1;
    padding-bottom: 30px;
    margin-bottom: 20px;
    width: 100%;
  }
  .inspira-line {
    max-width: 120px;
  }
}
@media (max-width: 600px) {
  .inspira-logo {
    height: 40px;
  }
  .inspira-brands-left img,
  .inspira-brands-right img {
    height: 22px;
  }
}

/* GDPR */
.section-gdpr {
  position: fixed;
  bottom: 5rem;
  left: 0;
  width: 100%;
  z-index: 1020;
}

.section-gdpr .col-gdpr {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.section-gdpr .gdpr-images-holder {
  position: absolute;
  top: 0;
  width: 90%;
  height: 100%;
  z-index: 1;
}

.section-gdpr .gdpr-images {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
}

.section-gdpr .gdpr-images .gingerbread {
  position: absolute;
  top: -3rem;
  left: 3.375rem;
  width: 4.375rem;
}

/* Gingerbread – blago mrdanje levo/desno */
@keyframes gingerbread-wiggle {
  0%,
  100% {
    transform: translateX(0) rotate(2deg);
  }
  50% {
    transform: translateX(10px) rotate(4deg);
  }
}

.section-gdpr .gdpr-images .gingerbread {
  animation: gingerbread-wiggle 3.5s ease-in-out infinite;
  will-change: transform;
}

/* Poštuj korisnikova podešavanja pokreta */
@media (prefers-reduced-motion: reduce) {
  .section-gdpr .gdpr-images .gingerbread {
    animation: none;
  }
}

.section-gdpr .col-gdpr .cookies-left {
  position: absolute;
  top: -0.938rem;
  left: -0.938rem;
  width: 3.75rem;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(-100deg);
}

.section-gdpr .col-gdpr .cookies-right {
  position: absolute;
  top: -1.75rem;
  right: 2.625rem;
  width: 3.75rem;
}

.section-gdpr .gdpr-box-new {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  width: 90%;
  -webkit-border-radius: 3.125rem;
  -moz-border-radius: 3.125rem;
  border-radius: 3.125rem;
  -webkit-box-shadow: 0 0 1.25rem 0 rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 0 1.25rem 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 1.25rem 0 rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.section-gdpr .gdpr-box-new .gdpr-content {
  padding-right: 1.875rem;
}

.section-gdpr .gdpr-box-new .gdpr-content p {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
}

.section-gdpr .gdpr-box-new .gdpr-options {
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-gdpr .gdpr-box-new .gdpr-options .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3.75rem;
  padding: 0 1.563rem;
  text-transform: uppercase;
}

.section-gdpr .gdpr-box-new .gdpr-options .btn:not(:last-child) {
  margin-right: 1rem;
}

.section-gdpr .gdpr-box-new .gdpr-options .btn-decline {
  -webkit-border-radius: 3.125rem;
  -webkit-border-top-right-radius: 0.5rem;
  -webkit-border-bottom-right-radius: 0.5rem;
  -moz-border-radius: 3.125rem;
  -moz-border-radius-topright: 0.5rem;
  -moz-border-radius-bottomright: 0.5rem;
  border-radius: 3.125rem;
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

.section-gdpr .gdpr-box-new .gdpr-options .btn-accept {
  -webkit-border-radius: 0.5rem;
  -webkit-border-top-right-radius: 3.125rem;
  -webkit-border-bottom-right-radius: 3.125rem;
  -moz-border-radius: 0.5rem;
  -moz-border-radius-topright: 3.125rem;
  -moz-border-radius-bottomright: 3.125rem;
  border-radius: 0.5rem;
  border-top-right-radius: 3.125rem;
  border-bottom-right-radius: 3.125rem;
}

.section-gdpr .gdpr-box-new {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  width: 90%;
  -webkit-border-radius: 3.125rem;
  -moz-border-radius: 3.125rem;
  border-radius: 3.125rem;
  -webkit-box-shadow: 0 0 1.25rem 0 rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 0 1.25rem 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 1.25rem 0 rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.section-gdpr .gdpr-box-new .gdpr-options .btn-accept {
  -webkit-border-radius: 0.5rem;
  -webkit-border-top-right-radius: 3.125rem;
  -webkit-border-bottom-right-radius: 3.125rem;
  -moz-border-radius: 0.5rem;
  -moz-border-radius-topright: 3.125rem;
  -moz-border-radius-bottomright: 3.125rem;
  border-radius: 0.5rem;
  border-top-right-radius: 3.125rem;
  border-bottom-right-radius: 3.125rem;
}

.section-gdpr .gdpr-box-new .gdpr-content p a {
  color: #222;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.section-gdpr .gdpr-box-new .gdpr-content p a:hover {
  color: #2563eb;
}

/* Za ekrane ispod 1200px */
@media (max-width: 1200px) {
  .section-gdpr .gdpr-box-new {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem 1.5rem;
  }

  .section-gdpr .gdpr-box-new .gdpr-content {
    padding-right: 0;
    margin-bottom: 1rem;
    max-width: 90%;
  }

  .section-gdpr .gdpr-box-new .gdpr-options {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .section-gdpr .gdpr-box-new .gdpr-options .btn {
    height: 3rem;
    padding: 0 1.25rem;
  }
}

/******************************/
/* Default light color scheme */
/******************************/

/* Background colors */
/*********************/

/* background #ffffff */
.page-wrapper,
.header,
.offcanvas,
.toast,
.custom-modal .modal-header .btn-close,
.custom-accordion .accordion-button,
.custom-accordion .accordion-body,
.form-control:focus,
.form-check .form-check-input,
.form-check .form-check-input:checked,
.course-total-holder .course-savings .savings-holder span,
.section-featured-course
  .media-body
  .button-holder
  .course-savings
  .savings-holder
  span,
.course-item-box,
.footer .payment-cards .payment-item,
.controls-container .control,
.section-top-title .payment-slip .payment-slip-holder,
.section-top-title .payment-slip .payment-slip-field .form-control,
.section-top-title .payment-slip .form-check .form-check-input,
.gdpr-box,
.gdpr-box .gdpr-options .btn-decline,
.gdpr-box-new,
.gdpr-box-new .gdpr-options .btn-decline {
  background-color: #ffffff;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #fafafa;
}

main {
  flex: 1;
}

/* background #000000 */
.section-top-title .payment-slip .payment-slip-section.left::after {
  background-color: #000000;
}

/* background #f4f7f7 */
.toast .btn-close,
.offcanvas-courses-filter,
.offcanvas-courses-filter .custom-accordion .accordion-button,
.offcanvas-courses-filter .custom-accordion .accordion-body,
.light-gray-bg,
.btn.light-gray-bg:hover,
.btn.light-gray-bg:focus,
.btn.light-gray-bg:active,
.btn.light-gray-bg.active,
.btn.light-gray-bg:first-child:active,
:not(.btn-check) + .btn.light-gray-bg:active,
.search-box .form-control,
.autocomplete,
.form-check.on-light-bg .form-check-input,
.form-check.on-light-bg .form-check-input:checked,
.header .col-header-options .btn-icon-dropdown,
.custom-modal .modal-content,
.custom-modal .modal-header,
.dropdown-header a:hover,
.dropdown-item:hover,
.dropdown-item:focus,
.lesson-list-item,
.lesson-list-item.disabled:hover,
.footer .footer-content .footer-text {
  background-color: #eeeeee;
}

/* background #008AFB */
.blue-bg,
.btn.blue-bg:hover,
.btn.blue-bg:focus,
.btn.blue-bg:active,
.btn.blue-bg.active,
.btn.blue-bg:first-child:active,
:not(.btn-check) + .btn.blue-bg:active,
.lesson-list-item.active .item-icon,
.lesson-list-item .item-action .action-holder .badge.badge-notification {
  background-color: #008afb;
}

/* background #273DFF */
.toast.toast-info .toast-border,
.toast.toast-info .toast-icon,
.neon-blue-bg,
.btn.neon-blue-bg:hover,
.btn.neon-blue-bg:focus,
.btn.neon-blue-bg:active,
.btn.neon-blue-bg.active,
.btn.neon-blue-bg:first-child:active,
:not(.btn-check) + .btn.neon-blue-bg:active,
.dropdown-item.active,
.dropdown-item.active:hover,
.search-col .vertical-menu li a.active,
.search-col .vertical-menu li a.active:hover,
.search-col .vertical-menu-mobile li a.active,
.search-col .vertical-menu-mobile li a.active:hover,
.section-purchase .large-check .media:hover .media-image,
.section-purchase .large-check.checked .media-image,
.section-purchase .medium-check .media:hover .media-image,
.section-purchase .medium-check.checked .media-image {
  background-color: #273dff;
}

/* background #ff443d rgba */
.dropdown-item.login:hover {
  background-color: rgba(39, 61, 255, 0.15);
}

/* background #e8eeee */
.lesson-list-item:hover {
  background-color: #e8eeee;
}

/* background #dadada */
.lesson-list-item.disabled .item-icon,
.btn.blue-bg.disabled,
.btn.blue-bg:disabled,
.btn.pink-bg.disabled,
.btn.pink-bg:disabled,
.btn.neon-blue-bg.disabled,
.btn.neon-blue-bg:disabled {
  background-color: #dadada;
}

/* background #000000 */
.black-bg,
.btn.black-bg:hover,
.btn.black-bg:focus,
.btn.black-bg:active,
.btn.black-bg.active,
.btn.black-bg:first-child:active,
:not(.btn-check) + .btn.black-bg:active,
.section-purchase .large-check .media-image,
.section-purchase .large-check .media-body .course-savings .savings-holder span,
.section-purchase .medium-check .media-image,
.section-purchase-course .media-body .media-title h1 span {
  background-color: #000000;
}

/* background #7A7673 */
.gray-bg,
.btn.gray-bg:hover,
.btn.gray-bg:focus,
.btn.gray-bg:active,
.btn.gray-bg.active,
.btn.gray-bg:first-child:active,
:not(.btn-check) + .btn.gray-bg:active,
.search-col .vertical-menu li a:hover,
.search-col .vertical-menu-mobile li a:hover,
.search-col .document-search-media .media-image {
  background-color: #dbdbdb;
}

/* background #ececec */
.header .col-logo::after,
.header .col-header-options::before {
  background-color: #ececec;
}

/* background #ff443d */
.toast.toast-danger .toast-border,
.toast.toast-danger .toast-icon,
.badge.badge-notification-dot,
.header .col-header-options .btn-user .user-notification .badge {
  background-color: #ff443d;
}

/* background #ffffff rgba */
.modal-backdrop,
.modal-backdrop.show,
.my-backdrop,
.offcanvas-backdrop {
  background-color: rgba(255, 255, 255, 0.3);
}

/* background #ff443d rgba */
.dropdown-item.logout:hover {
  background-color: rgba(255, 68, 61, 0.15);
}

/* background #da0964 */
.pink-bg,
.btn.pink-bg:hover,
.btn.pink-bg:focus,
.btn.pink-bg:active,
.btn.pink-bg.active,
.btn.pink-bg:first-child:active,
:not(.btn-check) + .btn.pink-bg:active {
  background-color: #da0964;
}

/* background #FA5D29 */
.toast.toast-warning .toast-border,
.toast.toast-warning .toast-icon,
.course-total-holder .course-savings .savings-holder,
.section-featured-course
  .media-body
  .button-holder
  .course-savings
  .savings-holder,
.section-purchase .large-check .media-body .course-savings .savings-holder,
.section-purchase-course .media-body .media-content .promo-orange-box {
  background-color: #fa5d29;
}

/* background #2ac38a */
.toast.toast-success .toast-border,
.toast.toast-success .toast-icon {
  background-color: #2ac38a;
}

/* background transparent */
.transparent-bg {
  background-color: transparent;
}

/* Font colors */
/***************/

/* font #222222 */
body,
.btn,
.toast .btn-close,
.toast .svg-deco,
.btn-link,
.btn-link:hover,
.btn-link:focus,
.btn-link:active,
.btn-link.active,
.btn-link:first-child:active,
:not(.btn-check) + .btn-link:active,
.search-col .vertical-menu li a,
.search-col .vertical-menu-mobile li a,
.breadcrumb-item a,
.breadcrumb-item a:hover,
.breadcrumb-item a:focus,
.breadcrumb-item.active,
.dropdown-item,
.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-custom .dropdown-header a,
.form-control,
.form-control:focus,
.form-select,
.form-select:focus,
.btn.gray-bg,
.btn.gray-bg:hover,
.btn.gray-bg:focus,
.btn.gray-bg:active,
.btn.gray-bg.active,
.btn.gray-bg:first-child:active,
:not(.btn-check) + .btn.gray-bg:active,
.btn.light-gray-bg,
.btn.light-gray-bg:hover,
.btn.light-gray-bg:focus,
.btn.light-gray-bg:active,
.btn.light-gray-bg.active,
.btn.light-gray-bg:first-child:active,
:not(.btn-check) + .btn.light-gray-bg:active,
.custom-modal .modal-header .btn-close,
.offcanvas-categories .link-item a,
.search-col .document-search-media .media-image,
.custom-accordion .accordion-button,
.custom-accordion .accordion-body ul.mobile-menu li a,
.custom-accordion .accordion-body .accordion-item,
.custom-accordion .accordion-body .form-check,
.course-header .course-tags a,
.course-total-holder .plan-tabs .hexagon span,
.course-total-holder .course-savings .savings-holder,
.section-featured-course
  .media-body
  .button-holder
  .course-savings
  .savings-holder,
.section-featured-course .media-body .media-title h2 strong svg,
.course-item-box .item-title h3 a,
.course-item-box .item-info .course-lecturer a,
.course-item-box .course-tags a,
.footer .footer-content .footer-nav a,
.footer .social-links ul li a,
.footer .content-holder.content-left ul li a,
.footer .content-holder.content-right p a,
.section-top-title p a,
.section-top-title .payment-slip .payment-slip-holder,
.section-top-title .payment-slip .payment-slip-holder .form-control,
.section-purchase .aside-item-col .aside-item h3 a,
.section-contact .contact-info .info-holder a {
  color: #222222;
}

/* font #273DFF */
a,
.text-neon-blue,
.btn.text-neon-blue,
.btn.text-neon-blue:hover,
.btn.text-neon-blue:focus,
.btn.text-neon-blue.disabled,
.btn.text-neon-blue:disabled,
.btn.text-neon-blue:active,
.btn.text-neon-blue.active,
.btn.text-neon-blue:first-child:active,
:not(.btn-check) + .btn.text-neon-blue:active,
.dropdown-custom .dropdown-item.login,
.section-featured-course .media-body .media-title h2 strong {
  color: #273dff;
}

/* font #ffffff */
.toast .toast-icon svg,
.blue-bg,
.btn.blue-bg,
.btn.blue-bg:hover,
.btn.blue-bg:focus,
.btn.blue-bg.disabled,
.btn.blue-bg:disabled,
.btn.blue-bg:active,
.btn.blue-bg.active,
.btn.blue-bg:first-child:active,
:not(.btn-check) + .btn.blue-bg:active,
.pink-bg,
.btn.pink-bg,
.btn.pink-bg:hover,
.btn.pink-bg:focus,
.btn.pink-bg.disabled,
.btn.pink-bg:disabled,
.btn.pink-bg:active,
.btn.pink-bg.active,
.btn.pink-bg:first-child:active,
:not(.btn-check) + .btn.pink-bg:active,
.neon-blue-bg,
.btn.neon-blue-bg:hover,
.btn.neon-blue-bg:focus,
.btn.neon-blue-bg:active,
.btn.neon-blue-bg.active,
.btn.neon-blue-bg:first-child:active,
:not(.btn-check) + .btn.neon-blue-bg:active,
.black-bg,
.btn.black-bg:hover,
.btn.black-bg:focus,
.btn.black-bg:active,
.btn.black-bg.active,
.btn.black-bg:first-child:active,
:not(.btn-check) + .btn.black-bg:active,
.dropdown-item.active:hover,
.search-col .vertical-menu li a.active,
.search-col .vertical-menu-mobile li a.active,
.lesson-list-item .item-icon svg,
.section-purchase .large-check .media-image,
.section-purchase .large-check .media-body .course-savings .savings-holder,
.section-purchase .large-check .media-body .course-savings .savings-holder span,
.section-purchase .medium-check .media-image,
.section-purchase .medium-check .media:hover .media-image,
.section-purchase .medium-check.checked .media-image,
.section-purchase-course .media-body .media-content .promo-orange-box {
  color: #ffffff;
}

/* font #7A7672 */
.form-control::placeholder,
.lesson-list-item .item-action .action-holder svg {
  color: #7a7672;
}

/* font #7A7673 !important */
.text-light {
  color: #7a7673 !important;
}

/* font #dadada */
.lesson-list-item.disabled .item-action .action-holder svg {
  color: #dadada;
}

/* font #ff443d */
.toast.toast-danger .svg-deco,
.dropdown-custom .dropdown-item.logout,
.form-label.is-invalid,
.form-control.is-invalid::placeholder,
.invalid-feedback {
  color: #ff443d;
}

/* font #FA5D29 */
.toast.toast-warning .svg-deco {
  color: #fa5d29;
}

/* font #da0964 */
.active-filters-content .btn svg {
  color: #da0964;
}

/* font #ff8989 */
.text-salmon {
  color: #ff8989;
}

/* font #D6D6D7 */
.section-purchase-course .media-body .media-title h1 span {
  color: #d6d6d7;
}

/* Border colors */
/*****************/

/* border #ececec */
.form-control.bordered,
.form-control.bordered:focus,
.form-select.bordered,
.form-select.bordered:focus,
.header .col-header-options .btn-user .media-image,
.search-col .user-search-media .media-image,
.col-header-options .dropdown-notification .media-image,
.course-header .course-tags a,
.course-item-box .item-title .course-licence,
.course-item-box .course-tags a,
.footer .payment-cards .payment-item,
.gdpr-box-new .gdpr-options .btn-decline {
  border: 1px solid #ececec;
}

/* border #42465C */
.btn.light-gray-bg.outlined {
  border: 1px solid #42465c;
}

/* border-top #f5f5f5 */
.dropdown-divider,
.course-item-box .item-info {
  border-top: 1px solid #f5f5f5;
}

/* border-right #ececec */
.search-col:first-child .search-content {
  border-right: 1px solid #ececec;
}

/* border-bottom #f5f5f5 */
.search-col > h3,
.col-header-options .dropdown-notification .dropdown-item:not(:last-child),
.course-item-box .item-info {
  border-bottom: 1px solid #f5f5f5;
}

/* dotted ::after #42465C */
.custom-accordion .accordion-item::after,
.section-testimonials .testimonial-item:not(:last-child)::after,
.section-purchase .aside-item-col .aside-item::after,
.section-purchase .address-item::after,
.footer .footer-wrapper::after,
.section-purchase.aside-with-content .title-holder::after,
.credit-card-col:not(:last-child)::after {
  background-image: radial-gradient(circle, #42465c 1px, transparent 1px);
  background-size: 10px 100%;
}

/* border-bottom 3px #feab4d */
.course-header .course-rating,
.section-testimonials .testimonial-item .item-options .testimonial-rating,
.course-item-box .item-footer .course-rating {
  border-bottom: 3px solid #feab4d;
}

/* border #273DFF */
.section-purchase .large-check.checked,
.credit-card-holder:hover {
  border: 1px solid #273dff;
}

/* border 3px #000000 */
.section-top-title .payment-slip .payment-slip-holder,
.payment-slip-field input {
  border: 1px solid #000000;
}

.section-top-title .payment-slip .payment-slip-signiture span,
.section-top-title .payment-slip .payment-slip-date-reception span,
.section-top-title .payment-slip .payment-slip-date-execution span {
  border-top: 1px solid #000000;
}

/* border-color #000000 */
.form-check .form-check-input,
.section-top-title .payment-slip .form-check .form-check-input {
  border-color: #000000;
}

/* border: 0 none; */
.form-control,
.form-control:focus,
.form-select,
.form-select:focus {
  border: 0 none;
}

/* border-color #ececec */
.choices__inner:focus,
.is-focused .choices__inner,
.is-open .choices__inner {
  border-color: #ececec;
}

/* border-color #ff443d */
.form-control.is-invalid,
.form-control:focus.is-invalid,
.was-validated .form-control:invalid,
.was-validated .form-control:focus:invalid {
  border-color: #ff443d;
}

.form-control.is-invalid,
.form-control:focus.is-invalid,
.was-validated .form-control:invalid,
.was-validated .form-control:focus:invalid {
  background-color: rgba(255, 68, 61, 0.07);
}

/* border-color #273DFF */
.form-check .form-check-input:checked,
.btn.light-gray-bg.outlined:active,
.btn.light-gray-bg.outlined.active {
  border-color: #273dff;
}

/* Specific border colors */
/**************************/

.autocomplete {
  border-top: 1px solid #f4f7f7;
  border-left: 1px solid #f4f7f7;
  border-right: 1px solid #f4f7f7;
  border-bottom: 1px solid #f4f7f7;
}

.active-border {
  border-top: 2px solid #feab4d;
  border-right: 2px solid #feab4d;
  border-bottom: 2px solid transparent;
  border-left: 2px solid transparent;
}

.background-element .circle-1 {
  border: 1px solid #e0e0e0;
}

.background-element .circle-2 {
  border: 1px solid #e9e9e9;
}

.background-element .circle-3 {
  border: 1px solid #f4f4f4;
}

.background-element .circle-4 {
  border: 1px solid #f5f5f5;
}

/* Specific svg colors */
/***********************/

/* Breadcrumb before svg color #222222 */
.breadcrumb-item + .breadcrumb-item::before {
  content: url('data:image/svg+xml,<svg stroke="%23222222" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M184 112l144 144-144 144" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="48"></path></svg>');
}

/* form-select svg color #222222 */
.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23222222' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

/* form-control svg color #ff443d */
.form-control.is-invalid,
.was-validated .form-control:invalid {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23ff443d'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23ff443d' stroke='none'/%3e%3c/svg%3e");
}

/* .form-check .form-check-input:checked radio and checkbox color #273DFF  */
.form-check .form-check-input:checked[type="radio"],
.form-check .form-check-input:checked[type="checkbox"] {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='512' height='512' viewBox='0 0 512 512'%3e%3ccircle cx='256' cy='256' r='144' fill='%23273DFF'/%3e%3c/svg%3e");
}

/* Payment Slip .form-check .form-check-input:checked checkbox color #000000  */
.section-top-title
  .payment-slip
  .form-check
  .form-check-input:checked[type="checkbox"] {
  background-image: url("data:image/svg+xml,%3csvg fill='%23000000' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 311.16 311.19'%3e%3cpath d='M106.68,375.18a21.33,21.33,0,0,0,30.17,30.17L256,286.17,375.17,405.33a21.33,21.33,0,1,0,30.17-30.17L286.17,256,405.33,136.82a21.33,21.33,0,0,0-30.17-30.17L256,225.83,136.84,106.67a21.33,21.33,0,1,0-30.17,30.17L225.84,256Z' transform='translate(-100.42 -100.41)'%3e%3c/path%3e%3c/svg%3e");
}

/* Pulse effect */
.btn.pulse-effect {
  -webkit-border-radius: 0.5rem;
  -moz-border-radius: 0.5rem;
  border-radius: 0.5rem;
}

.pulse-effect {
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}

.pulse-effect.red {
  box-shadow: 0 0 0 0 rgba(255, 68, 61, 1);
  animation: pulse-red 3s infinite;
}

.pulse-effect.blue {
  box-shadow: 0 0 0 0 rgba(39, 61, 255, 1);
  animation: pulse-blue 3s infinite;
}

/*********************/
/* Dark color scheme */
/*********************/

/* Key frames animations */
/*************************/

/* Spin Border */
@keyframes spinBorder {
  100% {
    -webkit-transform: rotateZ(405deg);
    -moz-transform: rotateZ(405deg);
    -ms-transform: rotateZ(405deg);
    -o-transform: rotateZ(405deg);
    transform: rotateZ(405deg);
  }
}

/* Pulse Effect */
@keyframes pulse-red {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 68, 61, 0.7);
  }

  70% {
    box-shadow: 0 0 0 0.625rem rgba(255, 68, 61, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 68, 61, 0);
  }
}

@keyframes pulse-blue {
  0% {
    box-shadow: 0 0 0 0 rgba(39, 61, 255, 0.7);
  }

  70% {
    box-shadow: 0 0 0 0.625rem rgba(39, 61, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(39, 61, 255, 0);
  }
}

/* ===================== KOD by JS — DODAO SJ (sekcija Kurs — FINAL) ===================== */

/* 1) Narandžasti badge iznad naslova (bez bordera) */
.badge-subscription-sj {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.65rem;
  margin: 1rem 0 1rem;
  background: #2f55ff;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* 2) Red sa ikonama i kratkim tekstom ispod ocene */
.course-icons-sj {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  padding: 0;
  margin: 5px 0 30px;
  list-style: none;
}
.course-icons-sj .media {
  display: flex;
  align-items: center;
  gap: 10px;
}
.course-icons-sj .media-body {
  font-weight: 400;
}

/* 3) Dva zasebna pasusa (segmenti) */
.course-intro-sj {
  margin: 0 0 20px;
  font-size: 1rem;
}
.course-outcome-sj {
  margin: 0 0 30px;
  font-size: 1rem;
}
.course-outcome-sj strong {
  font-weight: 800;
}

/* 4) Sekundarni tagovi (isti stil kao postojeći, samo razmak) */
.course-header .course-outcome-sj + .course-tags {
  margin-top: 10px;
}

/* 5) PRETPLATI SE – samo promena boje u okviru kartice */
.course-total-wrapper .button-holder .black-bg {
  background: #2f55ff !important;
  border-color: #2f55ff !important;
  color: #fff !important;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.course-total-wrapper .button-holder .black-bg:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* ===================== BUY-ONCE blok ispod kartice — FINAL ===================== */

.course-total-info {
  margin-top: 3.5rem;
  padding: 2rem 1.875rem 0.875rem;
  border: 1px solid #d6d6e2;
  border-radius: 6px;
  position: relative;
  background: #fff;
}

/* Gornji centralni label */
.course-total-info .course-total-label {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #fa5d29;
  padding: 2px 14px;
  font-size: 12px;
  font-weight: 400;
  color: #ffffff;
  border: 1px solid #fa5d29;
  border-radius: 5px;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

/* Layout bloka ispod kartice (dupliran razmak između redova) */
.buy-once-sj {
  display: grid;
  grid-template-rows: auto auto auto auto;
  row-gap: 20px;
}

/* 1) Red cene */
.price-once-sj {
  position: relative; /* referenca za strelicu */
  display: flex;
  align-items: baseline;
  gap: 16px;
  line-height: 1;
}

/* Stara cena + popust iznad nje */
.old-price-wrap-sj {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}
.old-price-wrap-sj .discount-sj {
  position: absolute;
  bottom: calc(100% + 4px);
  left: 0;

  font-size: 11px;
  font-weight: 600;

  background: #f7d413;
  color: #222;
  padding: 4px 4px 6px 24px; /* prostor za vatru */
  border-radius: 2px;

  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* 🔥 Vatra preko pseudo-elementa */
.old-price-wrap-sj .discount-sj::before {
  content: "🔥";
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  line-height: 1;
  animation: fire-pulse-sj 1.3s ease-in-out infinite alternate;
}

/* STARA CENA — crveno i precrtano, bez preloma */
.old-price-sj {
  font-size: 14px;
  color: #fa5d29;
  white-space: nowrap;
}
.old-price-sj s {
  text-decoration-thickness: 2px;
  text-decoration-color: #fa5d29;
}

/* NOVA CENA — broj + RSD u jednom redu (bez promene font-family) */
.new-price-sj {
  display: inline-flex;
  align-items: flex-start; /* poravnaj gore sa cifrom */
  font-size: 36px; /* desktop baza */
  letter-spacing: 0.5px;
  color: #111;
  font-weight: 600;
}
.new-price-sj small {
  position: relative;
  top: 8px; /* RSD gore poravnat sa vrhom */
  margin-left: 4px;
  font-size: 12px;
  color: #6b7280;
  line-height: 1;
}
/* Strelica – apsolutno pozicionirana unutar price-once-sj */
.price-once-sj .arrow-sj {
  position: absolute;
  left: 180px;
  top: 18px;
  width: 50px;
  height: auto;
  color: #222222;
  opacity: 0.9;
  pointer-events: none;
  transform: rotate(-25deg);
  transform-origin: center;
}

/* Linkovi sa underline efektom (za oba: link-more-sj i show-more-sj) */
.link-more-sj,
.show-more-sj {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  position: relative;
  font-weight: 400;
  color: #2f55ff;
  text-decoration: none;
  font-size: 0.825rem;
}

/* Underline animacija — linija staje pre SVG ikonice */
.link-more-sj::before,
.show-more-sj::before {
  content: "";
  position: absolute;
  left: 0;
  right: calc(18px + 0.4rem); /* širina ikonice + gap */
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.link-more-sj:hover::before,
.show-more-sj:hover::before {
  transform: scaleX(1);
}

/* Animacije strelica */
.link-more-sj .chev-right-sj,
.show-more-sj .chev-right-sj,
.show-more-sj .chev-down-sj {
  transition: transform 0.3s ease;
}

/* Pomeri desno */
.link-more-sj:hover .chev-right-sj,
.show-more-sj:hover .chev-right-sj {
  transform: translateX(4px);
}

/* Pomeri dole (chev-down-sj) */
.show-more-sj .chev-down-sj {
  transform-origin: center; /* osovina animacije */
}

.show-more-sj:hover .chev-down-sj {
  transform: translateY(3px) scale(1.05); /* blagi pad i zoom */
}

/* Helper za kombinovane redove */
.more-row-sj {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.more-row-sj .chev-right-sj {
  transition: transform 0.25s ease;
}

.more-row-sj:hover .chev-right-sj {
  transform: translateX(4px);
}
/* novo */

/* Efekat underline fill na hover/focus */
.link-plain-sj {
  font-size: 1rem;
  color: #2f55ff;
  font-weight: 600;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 2px; /* start bez linije */
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.25s ease;
}

.link-plain-sj:hover,
.link-plain-sj:focus-visible {
  background-size: 100% 2px; /* animacija ispuni liniju */
}

.link-plain-sj:focus-visible {
  outline: none; /* da ne duplira fokus border */
}

/* 4) Outline dugme (1px border, fw 600) */
.btn-outline-sj {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  height: 3.125rem;
  padding: 0 2.5rem;
  border: 1px solid #fa5d29;
  border-radius: 0.5rem;
  background: transparent;
  color: #111;
  font-weight: 600;
  transition: background 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
}
.btn-outline-sj:hover {
  background: rgba(250, 93, 41, 0.06);
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 1200px) {
  .new-price-sj {
    font-size: 44px;
  }
  .price-once-sj .arrow-sj {
    right: -50px;
    width: 100px;
  }
}
@media (max-width: 992px) {
  .new-price-sj {
    font-size: 36px;
  }
  .price-once-sj .arrow-sj {
    right: -30px;
    width: 80px;
    top: -6px;
  }
}

/* ===================== /sekcija Kurs — FINAL ===================== */

.k-faq {
  margin-bottom: 5rem;
}
/* Responsive */
@media (max-width: 1200px) {
  .k-faq {
    margin-bottom: 0rem;
  }
}

.k-faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.k-faq-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px 0;
  position: relative; /* potrebno da pseudo-element zna gde da se veže */
}

/* Pitanje */
.k-faq-q {
  background: #e0f1e6;
  color: #222;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}
.k-faq-q strong {
  margin-right: 4px;
  color: #0b7a37;
}

/* Odgovor */
.k-faq-a {
  font-size: 0.875rem;
  color: #222;
}
.k-faq-a strong {
  margin-right: 4px;
  color: #111827;
}

/* Uklapanje sa postojećim tackicama */
.k-faq-item:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-image: radial-gradient(circle, #42465c 1px, transparent 1px);
  background-size: 10px 100%;
}

.k-faq-item:last-child::after {
  content: none !important;
}

@media (max-width: 61.9375rem) {
  /* 991px */
  .k-faq-item {
    flex-direction: column; /* prebacuje u vertikalni raspored */
    align-items: flex-start; /* poravna ulevo */
    gap: 8px; /* manji razmak između P i O */
  }

  .k-faq-q {
    white-space: normal; /* dozvoljava da se prelama tekst */
    display: inline-block;
  }

  .k-faq-a {
    padding-left: 4px; /* mali razmak levo za balans */
  }
}

/* ===== GRID ZA KURSEVE ===== */
.k-courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.k-course-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* ===== BESKONAČNI SCROLL REDOVI Kursevi ===== */
.scroll-section {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Responsive */
@media (max-width: 480px) {
  .scroll-section {
    margin-top: -50px;
    display: none;
  }
}

.scroll-row {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}
.scroll-track {
  display: flex;
  gap: 20px;
}
.scroll-track img {
  width: 300px;
  height: auto;
  border-radius: 8px;
  flex-shrink: 0;
}

/* Animacije */
@keyframes scroll-right {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes scroll-left {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}
.scroll-row-right .scroll-track {
  animation: scroll-right 30s linear infinite;
}
.scroll-row-left .scroll-track {
  animation: scroll-left 30s linear infinite;
}

/* ===== INFINITE SCROLL ROWS — TEACHERS ===== */
.scroll-section-teachers {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 60px;
}

.scroll-row-teachers {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.scroll-track-teachers {
  display: flex;
  gap: 20px;
}

.scroll-track-teachers img {
  width: 200px;
  height: 200px;
  border-radius: 0.5rem;
  flex-shrink: 0;
}

/* Animations */
@keyframes scroll-right-teachers {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes scroll-left-teachers {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

.scroll-row-right-teachers .scroll-track-teachers {
  animation: scroll-right-teachers 30s linear infinite;
}

.scroll-row-left-teachers .scroll-track-teachers {
  animation: scroll-left-teachers 30s linear infinite;
}

/* ===== HERO COURSES SECTION ===== */
.section-hero-courses {
  text-align: center;
  padding-block: clamp(40px, 8vw, 80px);
}

/* Naslov */
.section-hero-courses h2 {
  font-size: clamp(30px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 12px;
  color: #111827;
}

/* Globalno ponašanje underline */
.link-fill {
  position: relative;
  font-weight: 400;
  text-decoration: none;
  display: inline-block;
  padding-bottom: 2px; /* bliže tekstu */
  color: #2f55ff !important;
}

/* Siva osnovna linija */
.link-fill::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 1px;
  background: #ccc; /* siva */
}

/* Animacija plave linije */
.link-fill::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0%;
  height: 1px;
  background: currentColor;
  transition: width 0.25s ease;
}

.link-fill:hover::after,
.link-fill:focus-visible::after {
  width: 100%;
}

.section-scroll-text .link-fill .hero-text .link-fill {
  color: #2f55ff; /* plava u tickeru */
}

/* Kada hover/focus */
.link-fill:hover::after,
.link-fill:focus-visible::after {
  width: 100%;
}

.hero-text .link-fill:focus-visible {
  outline: none; /* već ima vizuelni feedback */
}

.hero-text strong:hover {
  background-size: 100% 2px;
}

.section-hero-courses p.hero-sub {
  text-align: center;
  margin: 8px auto 22px; /* centriran blok */
  color: #6b7280;
  font-size: 15px;
}

/* Bold deo + wrapper za broj */
.section-hero-courses h2 strong.k-count {
  position: relative;
  display: inline-block;
  color: #2b55ff;
  font-weight: 700;
  white-space: nowrap;
}

/* Strelica “vezana” za broj */
.section-hero-courses .hero-arrow {
  position: absolute;
  left: calc(100% - 0.2em);
  top: 0.8em;
  width: 1.1em;
  height: auto;
  transform: rotate(45deg);
  opacity: 0.9;
  pointer-events: none;
}

/* Subtitle */
.section-hero-courses p.hero-sub {
  color: #6b7280;
  font-size: 15px;
  margin-bottom: 40px;
}

/* Ostali paragrafi */
.section-hero-courses p:not(.hero-sub) {
  max-width: 1400px;
  margin: 0 auto;
  color: #374151;
  font-size: 2rem;
  line-height: 1.6;
}

.section-hero-courses p:not(.hero-sub) {
  max-width: 1400px;
  margin: 0 auto;
  color: #374151;
  font-size: 2rem; /* desktop default */
  line-height: 1.6;
}

/* laptop / tablet */
@media (max-width: 1200px) {
  .section-hero-courses p:not(.hero-sub) {
    font-size: 1.75rem;
    line-height: 1.55;
  }
}

/* tablet vertikalni */
@media (max-width: 992px) {
  .section-hero-courses p:not(.hero-sub) {
    font-size: 1.5rem;
    line-height: 1.5;
  }
}

/* mobilni */
@media (max-width: 768px) {
  .section-hero-courses p:not(.hero-sub) {
    font-size: 1.25rem;
    line-height: 1.45;
    padding-inline: 1rem; /* malo unutrašnjeg prostora levo/desno */
    text-align: left;
    max-width: 100%;
  }
}

/* najmanji ekrani */
@media (max-width: 480px) {
  .section-hero-courses p:not(.hero-sub) {
    font-size: 1rem;
    line-height: 1.4;
    text-align: left;
    max-width: 100%;
  }
}

/* =====================  pretplate (page-pretplata only) ===================== */

.page-pretplata .row {
  justify-content: center; /* centriraj kolone */
}

.page-pretplata .large-check {
  --pretplata-card-h: 480px;

  height: var(--pretplata-card-h); /* fiksna visina */
  min-height: 0 !important; /* poništi globalni min-height */
  max-width: 464px;
  max-height: 460px;

  box-sizing: border-box; /* padding ulazi u visinu */
  padding: 4.375rem 3.125rem 2rem 3.125rem;
  display: flex;
  flex-direction: column;
  border: 1px solid #e6ecec;
  border-radius: 12px;
  transition: border-color 0.2s ease;
}

@media (max-width: 500px) {
  .page-pretplata .large-check {
    padding: 3rem 2rem 2rem 2rem;
    max-height: 420px;
  }
}

@media (max-width: 429px) {
  .page-pretplata .large-check {
    padding: 3rem 1rem 1rem 1rem;
    max-height: 420px;
  }
}

.page-pretplata .large-check.checked {
  border-color: #2f55ff; /* plavi border kad je selektovano */
}

/* Specifičan paragraf za novi element */
.section-top-title .pretplata-text-sj {
  max-width: 32rem;
  font-size: 0.85rem;
  color: #797672;
  text-align: left;
  margin-bottom: 20px;
}

/* Tekst ispod dugmeta */
.page-pretplata .large-check .note-under-btn {
  margin-top: 12px;
  font-size: 0.875rem;
  color: #6b7280;
  text-align: center;
}

/* Reset price-text paragrafa */
.page-pretplata .price-text p {
  max-width: none;
  margin: 0;
  text-align: left;
}

/* Plavo dugme unutar pretplate */
.page-pretplata .btn-subscribe-sj {
  width: 100%;
  height: 80px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  background: #2f55ff;
  border: 1px solid #2f55ff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto; /* centriraj horizontalno */
  transition: background 0.15s ease, transform 0.15s ease;
  text-decoration: none;
}

/* Kad je kartica izabrana (.checked) – dugme mora biti PLAVO (solid) */
.page-pretplata .large-check.checked .btn-subscribe-outline-sj {
  background: #2f55ff;
  border-color: #2f55ff;
  color: #fff;
}
.page-pretplata .large-check.checked .btn-subscribe-outline-sj:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* Kad kartica NIJE izabrana – dugme mora biti OUTLINE */
.page-pretplata .large-check:not(.checked) .btn-subscribe-sj {
  background: transparent;
  color: #2f55ff;
  border-color: #2f55ff;
}
.page-pretplata .large-check:not(.checked) .btn-subscribe-sj:hover {
  background: rgba(47, 85, 255, 0.06);
  transform: translateY(-1px);
}

/* Već imaš promenu bordera kartice; za svaki slučaj ostavljam i ovde */
.page-pretplata .large-check {
  border: 1px solid #e6ecec;
}
.page-pretplata .large-check.checked {
  border-color: #2f55ff;
}

.page-pretplata .btn-subscribe-sj:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* Outline varijanta */
.page-pretplata .btn-subscribe-outline-sj {
  width: 100%;
  height: 80px;
  border-radius: 12px;
  border: 1px solid #2f55ff;
  background: transparent;
  color: #2f55ff;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: background 0.15s ease, transform 0.15s ease;
  text-decoration: none;
}

.page-pretplata .btn-subscribe-outline-sj:hover {
  background: rgba(47, 85, 255, 0.06);
  transform: translateY(-1px);
}

/* Flex layout da budu dve kartice u redu (ako ima mesta) */
.page-pretplata .plans-row {
  display: flex;
  justify-content: center;
  gap: 20px; /* razmak između kartica */
  flex-wrap: wrap; /* na manjim širinama prelamaju */
}

.page-pretplata .large-check-col {
  flex: 0 0 464px; /* fiksna širina svake kolone */
}

/* Labela preko celog label klika – ok */
.page-pretplata .form-check-label {
  display: block;
  width: 100%;
}

.page-pretplata .form-check-label {
  margin-bottom: 40px;
}

/* ===================== DODAO SJ — HEADER BLOK ZA PRETPLATE (final) ===================== */

/* Baza (neutralno ponašanje) */
.page-pretplata-head .pretplata-head {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  color: #111;
  margin-bottom: 1rem;
}

/* Tekstualni stubac */
.page-pretplata-head .pretplata-head__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.page-pretplata-head .pretplata-head__text h2 {
  margin: 0 0 0.25rem 0;
  line-height: 1.1;
}

/* Brojač */
.page-pretplata-head .countdown-timer {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1rem;
  font-weight: 500;
  color: #111;
  white-space: nowrap;
}
.page-pretplata-head .countdown-timer .icon-timer {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Strelica (default udesno) */
.page-pretplata-head .pretplata-head__arrow {
  margin: 1.7rem 0 0 0;
  line-height: 0;
  color: #111;
  transform: rotate(0deg);
}

/* flip strelice */
.page-pretplata-head .hero-arrow {
  transform: scaleX(-1);
  transform-origin: center;
}

.page-pretplata-head .pretplata-head.is-firstcol {
  max-width: 100%;
  justify-content: flex-start;
}
.page-pretplata-head .pretplata-head.is-firstcol .pretplata-head__text {
  align-items: flex-start;
  text-align: left;
  order: 1;
}
.page-pretplata-head .pretplata-head.is-firstcol .pretplata-head__arrow {
  order: 0;
  transform: rotate(-50deg);
}

/* Responsive */
@media (max-width: 992px) {
  .page-pretplata-head .pretplata-head.is-firstcol {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .page-pretplata-head .pretplata-head {
    gap: 0.6rem;
  }
  .page-pretplata-head .pretplata-head__text h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .page-pretplata-head .pretplata-head {
    gap: 0.6rem;
  }
  .page-pretplata-head .pretplata-head__text h2 {
    font-size: 1rem;
  }
}

/* (Opciono) Stara struktura .page-pretplata-header — ostavljena ako se koristi negde drugo */
.page-pretplata-header {
  position: relative;
  margin-bottom: 3rem;
}
.page-pretplata-header .main-title-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
}
.page-pretplata-header .main-title h2 {
  margin: 0 0 0.25rem 0;
  line-height: 1.1;
}
.page-pretplata-header .countdown-timer {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: #111;
  white-space: nowrap;
}
.page-pretplata-header .countdown-timer .icon-timer {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Custom rule: Move subscription header block to the right */
.page-pretplata-head .pretplata-head.is-firstcol {
  margin-left: 220px; /* pomeranje ulevo/udesno ručno */
}

@media (max-width: 1400px) {
  .page-pretplata-head .pretplata-head.is-firstcol {
    margin-left: 100px;
  }
}
@media (max-width: 768px) {
  .page-pretplata-head .pretplata-head__arrow {
    display: none;
  }
}

@media (max-width: 520px) {
  .page-pretplata-head .pretplata-head.is-firstcol {
    margin-left: 20px;
  }
}

.pretplata-help {
  max-width: 1600px;
  width: 100%;
  margin: 80px auto;
  text-align: center;
  padding-inline: 20px; /* malo unutrašnjeg prostora sa strane */
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .pretplata-help {
    margin: 30px auto;
  }
}

.pretplata-help__inner h2 {
  font-size: 6rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* laptop/tablet */
@media (max-width: 1200px) {
  .pretplata-help__inner h2 {
    font-size: rem;
  }
}

/* tablet */
@media (max-width: 992px) {
  .pretplata-help__inner h2 {
    font-size: 3rem;
  }
}

/* mobilni */
@media (max-width: 768px) {
  .pretplata-help__inner h2 {
    font-size: 2rem;
  }
}

/* mali mobilni */
@media (max-width: 480px) {
  .pretplata-help__inner h2 {
    font-size: 2rem;
  }
}

.pretplata-help__inner .help-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: #2f55ff;
  text-decoration: none;
}

.pretplata-help__inner .help-link:hover {
  text-decoration: underline;
}

.pretplata-help__inner p {
  max-width: 80%;
  margin: 10px auto;
  font-size: 2.1rem;
  color: #333;
  line-height: 1.6;
}

.pretplata-help__inner p {
  max-width: 80%;
  margin: 10px auto;
  font-size: 2.1rem;
  color: #333;
  line-height: 1.6;
}

/* ispod 1400px */
@media (max-width: 1400px) {
  .pretplata-help__inner p {
    font-size: 1.9rem;
  }
}

/* ispod 1200px */
@media (max-width: 1200px) {
  .pretplata-help__inner p {
    font-size: 1.7rem;
  }
}

/* ispod 992px */
@media (max-width: 992px) {
  .pretplata-help__inner p {
    font-size: 1.5rem;
    max-width: 90%;
  }
}

/* ispod 768px */
@media (max-width: 768px) {
  .pretplata-help__inner p {
    font-size: 1.2rem;
    text-align: left;
    max-width: 100%;
  }
}

/* ispod 480px */
@media (max-width: 480px) {
  .pretplata-help__inner p {
    font-size: 1rem;
    text-align: left;
    max-width: 100%;
  }
}

/* ===================== KROJAČ VERTIKALNI TIMELINE ===================== */
.k-timeline {
  position: relative;
  margin: 0 auto;
  max-width: 1200px;
  padding: 2rem 0;
}

/* ===================== TIMELINE KROJAČ MARGINE (DODAO SJ) ===================== */
.timeline-krojac {
  margin: 80px 0 0 0;
}

/* Centralna vertikalna dotted linija */
.k-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background-image: radial-gradient(circle, #42465c 1px, transparent 1px);
  background-size: 100% 10px; /* vertikalno tačkasto */
  z-index: 0;
}

/* Jedan događaj = jedan red sa dve kolone */
.k-tl-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  padding: 3.5rem 0;
}

/* Tačka na sredini reda */
.k-tl-row::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #111;
  z-index: 2;
  animation: pulseDot 2s infinite ease-in-out; /* pulsiranje */
}

@keyframes pulseDot {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Završna tačka na dnu timeline-a */
.k-timeline::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2f55ff;
  z-index: 3;
  animation: pulseFinal 2s infinite ease-in-out;
}

/* Animacija pulsiranja završne tačke */
@keyframes pulseFinal {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
  }
  50% {
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 20px 8px rgba(0, 123, 255, 0.2);
  }
}

/* Kolone unutar reda */
.k-tl-media,
.k-tl-text {
  position: relative;
  z-index: 1;
}

/* === NOVO: slika uz liniju u svojoj polovini === */
.k-tl-media {
  display: flex;
  align-items: center;
}
.k-tl-media--left {
  /* levo polje → slika IDE DESNO, ka liniji */
  justify-content: flex-end;
  padding-right: 4.25rem;
}
.k-tl-media--right {
  /* desno polje → slika IDE LEVO, ka liniji */
  justify-content: flex-start;
  padding-left: 4.25rem;
}

/* Tekst – odmak od linije i poravnanje */
.k-tl-text--right {
  padding-left: 4.25rem;
  text-align: left;
} /* tekst desno od linije */
.k-tl-text--left {
  padding-right: 4.25rem;
  text-align: right;
} /* tekst levo od linije */

/* Paragrafi unutar text box-a */
.k-tl-text--right p {
  text-align: left;
}
.k-tl-text--left p {
  text-align: right;
}

/* Slika */
.k-tl-media img {
  display: block;
  max-width: 250px;
  width: 100%;
}

/* Naslovi/tekst (primer) */
.k-tl-text h3 {
  margin: 0 0 0.5rem;
  font-weight: 600;
}
.k-tl-text p {
  margin: 0;
  line-height: 1.6;
  color: #555;
}

/* ========== Responsive: ispod 900px sve u jednu kolonu ========== */
@media (max-width: 900px) {
  .k-tl-row {
    grid-template-columns: 1fr;
    padding: 2rem 0;
  }
  .k-timeline::before {
    left: 24px;
  }
  .k-tl-row::before {
    left: 24px;
  }
  .k-tl-media,
  .k-tl-text {
    padding: 0 0 0 3rem;
    text-align: left;
    justify-content: flex-start; /* slika levo uz liniju na mobilu */
  }
}
/* ===================== KROJAČ VERTIKALNI TIMELINE (DODAO SJ) ===================== */
.k-tl-text {
  display: flex;
  flex-direction: column;
}

.k-tl-text--right {
  padding-left: 4.25rem;
  align-items: flex-start;
}
.k-tl-text--left {
  padding-right: 4.25rem;
  align-items: flex-end;
}

.k-tl-text p {
  margin: 0;
  line-height: 1.6;
  color: #555;
  width: 100%;
  max-width: none;
}

.k-tl-text--right p {
  text-align: left;
}
.k-tl-text--left p {
  text-align: right;
}

.k-tl-text h3 {
  margin: 0 0 0.5rem;
  font-weight: 500;
  width: 100%;
  max-width: none;
}
.k-tl-text--right h3 {
  text-align: left;
}
.k-tl-text--left h3 {
  text-align: right;
}

@media (max-width: 900px) {
  .k-tl-text {
    align-items: flex-start;
  }
  .k-tl-text p,
  .k-tl-text h3 {
    text-align: left;
  }
  .k-tl-text--right {
    padding-left: 3rem;
  }
}

@media (max-width: 900px) {
  .k-tl-media img {
    display: none;
  }
}

.k-timeline-final {
  margin: 20px auto;
  padding: 60px 20px;
  text-align: center;
  max-width: 900px;
}

.k-timeline-final h2 {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.k-timeline-final .more-row-sj {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.k-timeline-final .link-plain-sj {
  text-decoration: none;
  color: #2f55ff;
}

.k-timeline-final .final-subtext {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

.course-item-box {
  overflow: hidden;
}

/* gornji medija deo kartice – drži 16:9 */
.course-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* moderan način */
  overflow: hidden;
}

/* Sekcija – razmaci */
.featured-instructors {
  padding: 2rem 0 3rem;
  position: relative;
}

@media (max-width: 768px) {
  .featured-instructors {
    padding: 0 !important;
  }
}

/* Grid za slike */
.fi-grid {
  display: grid;
  grid-template-columns: 375px 225px 400px;
  grid-template-rows: auto auto;
  gap: 1rem;
  align-items: start;
}

.fi-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  margin-bottom: 0; /* ukida donji razmak */
  background: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.fi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
}
.fi-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* fi-a: portret levo, 375x500 */
.fi-a {
  grid-column: 1;
  grid-row: 1 / 3;
  aspect-ratio: 3 / 4;
}

/* fi-b: Jelena gore desno, 530x300 */
.fi-b {
  grid-column: 2 / 4;
  grid-row: 1;
  aspect-ratio: 16 / 9;
  width: 600px;
}

/* fi-d: dole levo */
.fi-d {
  grid-column: 2;
  grid-row: 2;
  aspect-ratio: 16 / 9;
  width: 225px;
  height: 300px;
}

/* fi-c: dole desno */
.fi-c {
  grid-column: 3;
  grid-row: 2;
  aspect-ratio: 4 / 3;
  width: 480px;
  height: 225px;
}

/* Tekst desno */
.fi-right {
  align-self: flex-start; /* gore */
  margin-left: auto; /* gurne na desnu stranu */
  text-align: left; /* tekst normalno levo */
  padding-left: 0; /* nema praznog prostora */
  flex: 0 0 auto; /* spreči širenje kolone */
}
.fi-title {
  font-size: clamp(2.25rem, 1.2rem + 2.6vw, 3.25rem);
  line-height: 1.05;
  margin: 0 0 0.75rem 0;
  font-weight: 800;
}
.fi-text {
  color: #5b5b5b;
  margin: 0 0 1.25rem 0;
}
.btn-pink {
  background: #e41d63;
  color: #fff;
  border-radius: 0.75rem;
  padding: 0.75rem 1.25rem;
  box-shadow: 0 10px 22px rgba(228, 29, 99, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-pink:hover {
  background: #cf1958;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(228, 29, 99, 0.35);
  color: #fff;
}
.section.featured-instructors .fi-right.col-lg-5 {
  flex: 0 0 45%;
  max-width: 45%;
}

.section.featured-instructors .fi-right {
  align-self: flex-start;
  margin-left: auto;
  padding-left: 20px;
  padding-top: 10px;
  text-align: left;
  margin-left: 100px;
}

@media (min-width: 992px) {
  .section.featured-instructors .fi-right.col-lg-5 {
    flex: 0 0 28%;
    max-width: 30%;
  }
  /* da se leva kolona ne razvlači */
  .section.featured-instructors .col-lg-7 {
    flex: 0 0 auto;
    max-width: none;
  }
}
@media (max-width: 1399px) {
  .section.featured-instructors .fi-right {
    display: none;
  }
}

@media (max-width: 1200px) {
  .fi-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  /* fi-a: gore levo */
  .fi-a {
    grid-column: 1;
    grid-row: 1;
  }

  /* fi-c: gore desno (umesto fi-b) */
  .fi-c {
    grid-column: 2;
    grid-row: 1;
    width: 700px;
    height: 300px;
  }

  /* fi-d: dole levo */
  .fi-d {
    grid-column: 1;
    grid-row: 2;
  }

  /* fi-b: dole desno (umesto fi-c) */
  .fi-b {
    grid-column: 2;
    grid-row: 2;
    width: 535px;
  }
}
/* TABLET: od 768px do 991px → 2 slike u redu */
@media (max-width: 991px) and (min-width: 768px) {
  .fi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* dve kolone */
    grid-template-rows: auto;
    gap: 1rem;
  }

  .fi-card {
    width: 100%;
    height: 300px;
  }

  .fi-card img {
    width: 100%;
    object-fit: cover;
  }
}

/* MOBILNI: ispod 768px → sve u jednu kolonu */
@media (max-width: 767px) {
  .fi-grid {
    display: grid;
    grid-template-rows: auto;
    gap: 1rem;
  }

  .fi-card {
    width: 100%;
    height: auto;
  }

  .fi-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}
@media (min-width: 992px) {
  .col-lg-3 {
    flex: 0 0 auto;
    width: 25%; /* 4 u redu */
  }
}

@media (max-width: 1600px) {
  .fi-b {
    max-width: 500px;
  }
}

/* Fallback ako ti treba podrška bez aspect-ratio:
.course-media::before{content:""; display:block; padding-top:56.25%;}
.course-media > *{position:absolute; inset:0;}
*/

.course-media .poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.item-info .chk-icon {
  margin-left: auto; /* gura je skroz desno */
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 500;
}

.item-info .chk-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
} /* video sloj */
.course-media .video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.4s ease, transform 1s ease;
  pointer-events: none; /* da hover ostane na kartici */
}

.course-media .video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* pri hoveru ili kad dodaš .playing klasom iz JS */
.course-item-box:hover .course-media .video,
.course-item-box.playing .course-media .video {
  opacity: 1;
  transform: scale(1);
}
.course-item-box:hover .course-media .poster,
.course-item-box.playing .course-media .poster {
  opacity: 0;
}

/* medija kutija */
.course-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

/* slojevi */
.course-media .poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}
.course-media .video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.4s ease, transform 1s ease;
  pointer-events: none;
}

/* ⬇️ VAŽNO: Vimeo ubacuje još jedan <div> oko <iframe>-a. Nateraj i njega da popuni prostor. */
.course-media .video > div {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

/* i sam iframe */
.course-media .video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* poster je vidljiv dok ne krenemo da puštamo */
.course-item-box .course-media .poster {
  opacity: 1;
  transition: opacity 0.25s ease;
}

/* tek kad imamo prewarmed i playing – fade out postera */
.course-item-box.prewarmed.playing .course-media .poster {
  opacity: 0;
}

/* video sloj fade-in samo kad playing */
.course-item-box .course-media .video {
  opacity: 0;
  transition: opacity 0.25s ease, transform 1s ease;
  transform: scale(1.05);
}
.course-item-box.playing .course-media .video {
  opacity: 1;
  transform: scale(1);
}

.course-item-box .course-media .video iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
  display: block;
  object-fit: cover;
}

.course-media {
  position: relative;
}

.lm-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-weight: 400;
  font-size: 0.725rem;
  text-decoration: none;
  text-transform: uppercase;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 3;
}

.lm-overlay span {
  position: relative;
  display: inline-block;
  padding: 0.7rem 1.8rem;
  border: 1px solid #0066ff;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  overflow: hidden;
  transition: all 0.3s ease;
}

.lm-overlay span::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 128, 255, 0.3),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.lm-overlay:hover span::before {
  transform: translateX(100%);
}
.lm-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.lm-overlay span:not(:hover)::before {
  transition: none;
  transform: translateX(-100%);
}

/* ===================== DODAO SJ — loader preko postera (bez dupliranja) ===================== */

/* 1) Overlay loader — stavi u .course-media HTML: <div class="loader-sj"></div> iznad .video */
.course-media .loader-sj {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65); /* po želji: rgba(0,0,0,.35) */
  opacity: 0; /* ne vidi se dok ne zatražimo */
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 2; /* iznad .poster, ispod .video */
}

/* Spinner krug */
.course-media .loader-sj::after {
  content: "";
  width: 42px;
  height: 42px;
  border: 1px solid #ddd;
  border-top-color: #2f55ff;
  border-radius: 50%;
  animation: sj-spin 1s linear infinite;
}

@keyframes sj-spin {
  to {
    transform: rotate(360deg);
  }
}

.col-with-hover-item:hover .course-media .loader-sj {
  opacity: 1;
  transition-delay: 0s;
}

.course-item-box.playing .course-media .loader-sj {
  opacity: 0;
  transition-delay: 0.15s; /* malo zadrži da ispadne glatko */
}
/* ===================== /DODAO SJ ===================== */
:root {
  --c-dark: #222222;
  --c-blue: #2f55ff;
  --c-hover: #eef1ff;
  --c-pill-bg: #f2f2f2;
}

/* Sticky bar */
.mobile-buybar {
  position: fixed;
  bottom: 0.25rem;

  width: 98%; /* tvoja tražena širina */
  left: 50%;
  transform: translateX(-50%); /* centriranje */

  display: none;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid #eee;
  padding: 1rem 1.25rem;
  z-index: 999;
}

/* samo ispod 991px */
@media (max-width: 61.9375rem) {
  .mobile-buybar {
    display: flex;
  }
}

/* Tabs */
.mbb-tabs {
  display: flex;
  gap: 8px;
  background: var(--c-pill-bg);
  border-radius: 0.5rem;
  padding: 4px;
}
.mbb-tab {
  border: 0;
  cursor: pointer;
  background: transparent;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.825rem;
  font-weight: 400;
  color: #444;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.mbb-tab.is-active {
  background: var(--c-dark);
  color: #fff;
  box-shadow: 0 6px 16px rgba(47, 85, 255, 0.25);
}
.mbb-tab:not(.is-active):hover {
  background: var(--c-hover);
  color: var(--c-blue);
}

/* Cena */
.mbb-price {
  margin-left: auto;
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
  white-space: nowrap;
  font-size: 0.625rem;
  margin-bottom: 0;
  line-height: 1;
  top: 0.188rem;
}
.mbb-price__value {
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}

/* koristi postojeći stil iz .section-purchase */
.mbb-price__text {
  position: relative;
  top: -0.25rem; /* pomera gore za ~4px, prilagodi po ukusu */
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.mbb-price__text p {
  font-size: 0.625rem;
  margin-bottom: 0;
  line-height: 1;
  font-weight: 400;
  color: #222;
}

/* Dugme */
.mbb-buy {
  text-decoration: none;
  background: var(--c-blue);
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 0.5rem; /* ✅ 8px */
  font-size: 0.875rem;
  font-weight: 400;
  transition: background 0.15s, transform 0.1s;
}

.mbb-buy:hover {
  background: #2448e0;
}

.mbb-buy:active {
  transform: translateY(1px);
}

@media (max-width: 38.75rem) {
  /* 620px */
  /* manja cena */
  .mbb-price__value {
    font-size: 1.4rem; /* bilo 2rem */
  }

  .mbb-price__text {
    top: 0rem;
  }

  .mbb-price__text p {
    font-size: 0.55rem; /* blago smanjenje teksta RSD/mesečno */
  }

  /* da sve ostane centrirano i diše */
  .mobile-buybar {
    gap: 0.75rem;
    padding: 0.75rem 1rem;
  }
}

/* --- Offcanvas (mobile) --- */
.offcanvas-all {
  width: 92vw;
  max-width: 520px;
  border-right: 1px solid #eef1f6;
}
.offcanvas-all .offcanvas-body {
  padding: 0;
  display: flex;
  flex-direction: column;
  height: calc(100% - 56px - 84px);
}
@media (min-width: 400px) {
  .offcanvas-all {
    width: 400px;
  }
}

/* topbar */
.oc-topbar {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 0.75rem;
  border-bottom: 1px solid #eef1f6;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}
.oc-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #111;
}
.btn-reset {
  background: none;
  border: 0;
  padding: 0.25rem 0.4rem;
  line-height: 1;
  color: #1f2937;
}
.oc-close {
  position: absolute;
  right: 0.25rem;
  top: 0.25rem;
}
.oc-back {
  position: absolute;
  left: 0.25rem;
  top: 0.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.95rem;
  color: #374151;
}

/* panel switching */
.oc-body {
  position: relative;
}
.oc-panel {
  position: absolute;
  inset: 0;
  overflow: auto;
  padding: 12px 0 24px;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}
.oc-panel.is-active {
  transform: none;
}
.oc-panel.is-right {
  transform: translateX(100%);
}
.oc-panel.is-left {
  transform: translateX(-100%);
}

/* lists */
.oc-section {
  font-size: 0.9rem;
  font-weight: 600;
  color: #111;
  padding: 10px 16px;
  margin: 0;
}
.oc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.oc-link {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 14px 16px;
  font-size: 1.05rem;
  color: #1f1f1f;
  background: #fff;
  border: 0;
  text-decoration: none;
}
.oc-link:active {
  background: #f7f7fb;
}
.oc-next::after {
  content: "›";
  font-size: 22px;
  line-height: 1;
  color: #6b7280;
}
.oc-viewall {
  font-size: 0.95rem;
  text-decoration: underline;
}

/* separators & footer */
.oc-sep {
  border: 0;
  border-top: 1px solid #eef1f6;
  margin: 10px 0;
}
.oc-footer {
  position: sticky;
  bottom: 0;
  background: #fff;
  border-top: 1px solid #eef1f6;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.oc-btn {
  display: block;
  text-align: center;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.oc-btn.primary {
  background: #1652f0;
  color: #fff;
}
.oc-btn.ghost {
  background: #f3f4f6;
  color: #111;
}
.oc-btn.primary:active {
  filter: brightness(0.95);
}

/* badge in line */
.oc-badge {
  margin-left: 0.5rem;
}

/* === OFFCANVAS: Coursera-like styling === */
.ks-offcanvas {
  width: 90vw;
  max-width: 420px;
  background: #fff;
}

.ks-oc-head {
  padding: 12px 16px;
  border-bottom: 1px solid #eef1f6;
  align-items: center;
}

.ks-oc-logo {
  height: 22px;
  opacity: 0.95;
}

.ks-oc-close {
  width: 28px;
  height: 28px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb; /* tanki okvir */
  border-radius: 8px; /* traženo 8px */
  background: #fff;
  color: #64748b; /* siva ikonica */
}
.ks-oc-close:hover {
  background: #f8fafc;
  color: #0f172a;
}

.oc-nav {
  padding: 6px 0 10px;
}

/* liste – zbijene, tanka tipografija */
.oc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.oc-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px; /* ZBIJENO */
  font-size: 15px;
  line-height: 1.2;
  font-weight: 400; /* “tanka slova” kao na desktopu */
  color: #0f172a;
  text-decoration: none;
}
.oc-link:hover {
  background: #f8f9fb;
}

.oc-cats .oc-link {
  padding: 12px 14px;
} /* malo jači “hit” area za kategorije */

.oc-chev {
  font-size: 20px; /* jednostavan “›” kao Coursera */
  line-height: 1;
  color: #94a3b8;
}

.oc-sep {
  height: 1px;
  border: 0;
  background: #eef1f6;
  margin: 6px 0 8px;
}

/* PASS bedž da ostane čitljiv pored zbijenog reda */
.oc-link .badge-pass {
  margin-left: 8px;
  transform: translateY(-1px);
}

.ks-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ks-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ============================= */
/*        ŠEST KARTICA           */
/* ============================= */

.teachers-listing {
  margin-top: 2rem;
  margin-bottom: 6rem;
}

.teachers-listing .teacher-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 6px 24px rgba(2, 6, 23, 0.08);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.teachers-listing .teacher-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.12);
}

/* Slika sa stabilnim odnosom (1:1) */
.teachers-listing .teacher-thumb {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.teachers-listing .teacher-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.45s ease;
}

.teachers-listing .teacher-card:hover .teacher-thumb img {
  transform: scale(1.05);
}

/* Telo */
.teachers-listing .teacher-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.teachers-listing .teacher-meta {
  margin-bottom: 8px;
}

.teachers-listing .teacher-badge {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 3px 10px;
  border-radius: 0.25rem;
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* Ime */
.teachers-listing .teacher-name {
  font-size: clamp(1.05rem, 1.1vw + 0.8rem, 1.4rem);
  line-height: 1.25;
  margin: 0 0 8px 0;
  font-size: 1.125rem;
}

.teachers-listing .teacher-name a {
  position: relative;
  color: #222;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.teachers-listing .teacher-name a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.teachers-listing .teacher-name a:hover {
  color: #000;
}

.teachers-listing .teacher-name a:hover::after {
  width: 100%;
}

/* Kratak opis */
.teachers-listing .teacher-excerpt {
  color: #374151;
  line-height: 1.4;
  margin: 8px 0 30px 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  flex-grow: 1;
}

/* Strelica */
.teachers-listing .teacher-arrow {
  display: flex;
  align-items: center;
  justify-content: right;
  padding: 0;
  color: #222;
  transition: transform 0.3s ease;
}

.teachers-listing .teacher-arrow svg {
  width: 1.375rem;
  height: 1.375rem;
}

.teachers-listing .teacher-card:hover .teacher-arrow {
  transform: translateX(6px);
}

/* Responsive grid: 6 desktop, 3 tablet, 2 phone */
@media (max-width: 1399px) {
  .teachers-listing .col-xl-2 {
    width: 33.3333%;
    flex: 0 0 33.3333%;
  }
}

@media (max-width: 991px) {
  .teachers-listing .col-xl-2 {
    width: 50%;
    flex: 0 0 50%;
  }
}

@media (max-width: 575px) {
  .teachers-listing .col-xl-2 {
    width: 100%;
    flex: 0 0 100%;
  }
}

.hero-btn-center {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.hero-btn-center .btn {
  padding: 0 5.5rem;
  height: 3.75rem;
  border-radius: 0.5rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: #fff;
  background-color: #2563eb; /* neon-blue-bg */
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.hero-btn-center .btn:hover {
  background-color: #1e40af;
  transform: translateY(-2px);
}

/* ============================= */
/*       Teacher Rating Stars    */
/* ============================= */

.teacher-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

/* Ocene (zvezdice + broj) */
.teacher-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.teacher-rating .stars {
  display: flex;
  gap: 3px;
  line-height: 1;
}

.teacher-rating .star {
  font-size: 0.9rem;
  color: #facc15; /* zlatna */
  position: relative;
  display: inline-block;
}

.teacher-rating .star::before {
  content: "★";
}

/* prazna */
.teacher-rating .star.empty {
  color: #d1d5db; /* siva */
}

/* poluzvezdica */
.teacher-rating .star.half {
  color: #d1d5db;
}
.teacher-rating .star.half::before {
  background: linear-gradient(90deg, #facc15 50%, #d1d5db 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  content: "★";
}

.teacher-rating .rating-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
}

/* Strelica (desno u footeru) */
.teacher-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #222;
  transition: transform 0.3s ease;
}

.teacher-arrow svg {
  width: 1.25rem;
  height: 1.25rem;
}

.teacher-card:hover .teacher-arrow {
  transform: translateX(5px);
}
