/* ==========================================================================
   START Arhitektura — Custom Overrides
   ========================================================================== */

/* --- Brand Colors --- */
:root {
  --start-dark: #2a2e2c;          /* grounding: warm charcoal-green */
  --start-accent: #acb7a9;        /* soft brand: sage — calm surfaces, large areas, supporting accents */
  --start-accent-2: #c8923b;      /* emphasis: warm muted amber — active states, buttons, key accents */
  --start-accent-hover: #d6a24b;  /* lighter amber — hover / highlight variation */
  --start-light: #f7f7f5;
  --start-text: #4a524a;
  --start-heading: #2a2e2c;
  --start-white: #ffffff;
  --start-border: #e2e2de;
}

/* --- Global Overrides --- */
body {
  color: var(--start-text);
  font-family: 'Montserrat', 'Open Sans', sans-serif;
}
a {
  color: var(--start-accent-2);
}
a:hover, a:focus {
  color: var(--start-accent-hover);
  text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
  color: var(--start-heading);
}

/* --- Logo --- */
.logo a {
  display: inline-flex;
  align-items: center;
  padding: 0;
  position: relative;
}
.logo .logo-img {
  height: 54px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: opacity 0.3s ease;
  display: block;
}
.logo a .img-circle {
  display: none; /* hide original template text logo */
}
/* Logo swap via opacity crossfade — white on dark header, black on sticky sage header.
   Using absolute-positioned overlay for the second image guarantees only one logo is
   ever visible (no display:block/none flicker during the sticky transition on mobile). */
.logo .logo-white {
  opacity: 1;
}
.logo .logo-black {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
}
.isStuck .logo .logo-white {
  opacity: 0;
}
.isStuck .logo .logo-black {
  opacity: 1;
}

/* --- Navigation (shared across all pages) --- */
.menu {
  background: var(--start-dark);
}
.navbar-inverse {
  background: transparent;
  border: none;
}
/* Inner-page overrides: match homepage dark header */
.navbar-wrapper {
  background: var(--start-dark) !important;
}
.navArea {
  margin-right: 0 !important;
}
.navbar.navbar-inverse.navbar-static-top a {
  color: rgba(255,255,255,0.9) !important;
}
/* Kill template's static border-bottom on hover — only the animated ::after bar remains */
.navbar.navbar-inverse.navbar-static-top a,
.navbar.navbar-inverse.navbar-static-top a:hover,
.navbar.navbar-inverse.navbar-static-top a:focus,
.isStuck .navbar.navbar-inverse.navbar-static-top a,
.isStuck .navbar.navbar-inverse.navbar-static-top a:hover,
.isStuck .navbar.navbar-inverse.navbar-static-top a:focus {
  border: none !important;
}

/* Nav link base styles */
.nav.navbar-nav > li > a {
  position: relative;
  color: rgba(255,255,255,0.9) !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 15px 12px;
  transition: color 0.25s ease;
  background: transparent !important;
}
/* Underline bar — the universal hover/active indicator */
.nav.navbar-nav > li > a::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  background: var(--start-accent-2);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease, background-color 0.25s ease;
  pointer-events: none;
}
.nav.navbar-nav > li > a:hover,
.nav.navbar-nav > li > a:focus {
  color: var(--start-accent-2) !important;
  background: transparent !important;
}
.nav.navbar-nav > li > a:hover::after,
.nav.navbar-nav > li > a:focus::after {
  transform: scaleX(1);
}
/* Active state: warm amber accent on dark header */
.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
  color: var(--start-accent-2) !important;
  background: transparent !important;
}
.navbar-inverse .navbar-nav > .active > a::after {
  transform: scaleX(1);
}

/* --- Sticky header override (sage bg) --- */
.isStuck {
  background-color: var(--start-accent) !important;
  box-shadow: 0 2px 14px rgba(42,46,44,0.12);
}
.isStuck .navbar.navbar-inverse.navbar-static-top a,
.isStuck .nav.navbar-nav > li > a {
  color: var(--start-dark) !important;
}
/* On sticky (sage bg) the default underline bar is dark graphite */
.isStuck .nav.navbar-nav > li > a::after {
  background: var(--start-dark);
}
/* Sticky active (non-hovered): dark graphite text, dark underline persists */
.isStuck .navbar-inverse .navbar-nav > .active > a {
  color: var(--start-dark) !important;
  background: transparent !important;
}
/* Sticky hover / focus — including hover on the active item — text + underline go WHITE for stronger contrast against sage */
.isStuck .nav.navbar-nav > li > a:hover,
.isStuck .nav.navbar-nav > li > a:focus,
.isStuck .navbar-inverse .navbar-nav > .active > a:hover,
.isStuck .navbar-inverse .navbar-nav > .active > a:focus {
  color: #ffffff !important;
  background: transparent !important;
}
.isStuck .nav.navbar-nav > li > a:hover::after,
.isStuck .nav.navbar-nav > li > a:focus::after,
.isStuck .navbar-inverse .navbar-nav > .active > a:hover::after,
.isStuck .navbar-inverse .navbar-nav > .active > a:focus::after {
  background: #ffffff;
}

@media (min-width: 768px) {
  .nav.navbar-nav > li > a {
    padding: 15px 10px;
    font-size: 12px;
  }
}
@media (min-width: 992px) {
  .nav.navbar-nav > li > a {
    padding: 15px 13px;
    font-size: 13px;
  }
}
/* Tablet range where the menu is shown inline (above main.css's 810px burger
   breakpoint): slightly tighter links so all 10 items, incl. "Blog" and
   "Prijava" / "Moj profil", stay on one row. The selector must outrank main.css's
   `.navbar.navbar-inverse.navbar-static-top a { padding: 31px 12px }`. */
@media (min-width: 811px) and (max-width: 991px) {
  .navbar.navbar-inverse.navbar-static-top .nav.navbar-nav > li > a {
    padding-left: 4px;
    padding-right: 4px;
    letter-spacing: 0;
  }
  .navbar.navbar-inverse.navbar-static-top .nav.navbar-nav > li > a::after {
    left: 4px;
    right: 4px;
  }
}
/* 992–1199px: the menu row is a little too narrow for 10 items when the last
   one is "Moj profil"; trim main.css's 12px side padding to 10px. */
@media (min-width: 992px) and (max-width: 1199px) {
  .navbar.navbar-inverse.navbar-static-top .nav.navbar-nav > li > a {
    padding-left: 10px;
    padding-right: 10px;
  }
  .navbar.navbar-inverse.navbar-static-top .nav.navbar-nav > li > a::after {
    left: 10px;
    right: 10px;
  }
}
/* Burger menu: main.css caps the open menu at 340px, which hides the 9th item
   ("Prijava" / "Moj profil") behind an inner scroll on phones. Let it grow to
   the screen height instead; it still scrolls on very short (landscape) screens. */
@media (max-width: 810px) {
  .navbar-wrapper .navbar-collapse {
    max-height: calc(100vh - 80px);
  }
}

/* Language selector hidden — single language site */
.language {
  display: none !important;
}

/* --- Hero Section (index only) --- */
.start-hero {
  position: relative;
  background: var(--start-dark);
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.start-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    linear-gradient(135deg, rgba(42,46,44,0.95) 0%, rgba(42,46,44,0.7) 100%);
  z-index: 1;
}
.start-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 20px 60px;
}
.start-hero .hero-logo {
  max-width: 200px;
  margin-bottom: 30px;
}
.start-hero h1 {
  color: #fff;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  border: none;
  padding: 0;
}
.start-hero h1 span {
  display: block;
  font-size: 42px;
  line-height: 1.2;
  color: var(--start-accent-2);
}
.start-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}
.start-hero .btn-start {
  display: inline-block;
  background: var(--start-accent-2);
  color: var(--start-dark);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 3px;
  transition: all 0.3s ease;
  border: 2px solid var(--start-accent-2);
  margin: 0 8px;
}
.start-hero .btn-start:hover {
  background: transparent;
  color: var(--start-accent-2);
  text-decoration: none;
}
.start-hero .btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.start-hero .btn-outline:hover {
  background: #fff;
  color: var(--start-dark);
}
/* Architectural pattern background */
.start-hero .hero-pattern {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  opacity: 0.06;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(255,255,255,0.3) 40px, rgba(255,255,255,0.3) 41px),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255,255,255,0.3) 40px, rgba(255,255,255,0.3) 41px);
}

/* --- Section Headings --- */
.heading h1 {
  border-left-color: var(--start-accent-2);
  font-size: 50px;
  line-height: 1.2;
  text-transform: uppercase;
}
.heading h1 span {
  color: var(--start-accent-2);
  font-size: 28px;
  line-height: 1.1;
}

/* --- Section Colors --- */
.white_section {
  background: var(--start-white);
}
.grey_section {
  background: var(--start-light);
}
.yellow_section,
.start-cta-section {
  background: var(--start-accent);
}
.blue_section {
  background: var(--start-dark);
}
.blue_section h5,
.blue_section p,
.blue_section a,
.blue_section li {
  color: rgba(255,255,255,0.8);
}
.blue_section h5.heading {
  color: var(--start-accent);
}
.blue_section a:hover {
  color: var(--start-accent-2);
}

/* --- Buttons --- */
.btn-primary,
input[type="submit"].button,
input[type="button"].button {
  background: var(--start-accent-2) !important;
  border-color: var(--start-accent-2) !important;
  color: var(--start-dark) !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 30px;
  border-radius: 3px;
  transition: all 0.3s ease;
}
.btn-primary:hover,
input[type="submit"].button:hover,
input[type="button"].button:hover {
  background: var(--start-accent-hover) !important;
  border-color: var(--start-accent-hover) !important;
  color: var(--start-dark) !important;
}
/* Kontakt form submit — neutralize template's main.css height:53 + line-height:52
   + border-bottom:3px which were overflowing the padded content and shifting
   the visual center upward. Scope: input.button only — .btn-primary untouched. */
input[type="submit"].button,
input[type="button"].button {
  height: auto;
  line-height: 1.4;
  border: 0 !important;
  text-align: center;
}

/* --- Membership / Features --- */
.membership_listing span i {
  color: var(--start-accent-2);
}
.membership_listing h3 {
  color: var(--start-heading);
}

/* --- Pricing Tables --- */
.pricingtables .plan-name.color,
.pricingtables .plan-price.color {
  background: var(--start-accent-2);
}
.pricingtables .best-plan {
  border-color: var(--start-accent-2);
}

/* --- Fun Facts / Counter --- */
.numbers_section {
  background: var(--start-dark);
}
.numbers_section .numbers li h3,
.numbers_section .numbers li span,
.numbers_section .numbers li i {
  color: #fff;
}
.numbers_section .numbers li i {
  color: var(--start-accent-2);
}

/* --- Page Header (inner pages) --- */
.page_head {
  background: var(--start-dark);
  padding: 40px 0 30px;
}
.page_head h2 {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.page_head .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 10px 0 0;
}
.page_head .breadcrumb li,
.page_head .breadcrumb li a {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}
.page_head .breadcrumb li.active {
  color: var(--start-accent);
}
.page_head .breadcrumb > li + li::before {
  color: rgba(255,255,255,0.4);
}

/* --- CTA Section --- */
.start-cta-section {
  padding: 50px 0;
  text-align: center;
}
.start-cta-section h3 {
  color: var(--start-dark);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}
.start-cta-section p {
  color: var(--start-dark);
  font-size: 16px;
  margin-bottom: 25px;
  opacity: 0.85;
}
.start-cta-section .btn-start {
  display: inline-block;
  background: var(--start-dark);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 35px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 3px;
  transition: all 0.3s ease;
  border: 2px solid var(--start-dark);
}
.start-cta-section .btn-start:hover {
  background: transparent;
  color: var(--start-dark);
  text-decoration: none;
}

/* --- FAQ Accordion --- */
.faq-accordion .panel {
  border: 1px solid var(--start-border);
  border-radius: 3px;
  margin-bottom: 10px;
  box-shadow: none;
}
.faq-accordion .panel-heading {
  background: var(--start-white);
  padding: 0;
  border-radius: 3px;
}
.faq-accordion .panel-heading a {
  display: block;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--start-heading);
  text-decoration: none;
  position: relative;
  padding-right: 40px;
}
.faq-accordion .panel-heading a::after {
  content: '\f107';
  font-family: FontAwesome;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--start-accent-2);
  transition: transform 0.3s ease;
}
.faq-accordion .panel-heading a.collapsed::after {
  transform: translateY(-50%) rotate(-90deg);
}
.faq-accordion .panel-heading a:hover {
  color: var(--start-accent-2);
}
.faq-accordion .panel-body {
  padding: 15px 20px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--start-text);
  border-top: 1px solid var(--start-border);
}

/* --- Contact Info Block --- */
.contact-info-block h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  margin-top: 20px;
}
.contact-info-block h3:first-child {
  margin-top: 0;
}
.contact-info-block p {
  padding-bottom: 10px;
}
.contact-info-block i {
  color: var(--start-accent-2);
  width: 24px;
  text-align: center;
  margin-right: 8px;
}

/* --- O nama / About Section --- */
.about-section .about-text {
  font-size: 15px;
  line-height: 1.8;
}
.about-section .about-text p {
  margin-bottom: 15px;
}

/* --- Teachers/Mentors Section --- */
.mentor-card {
  text-align: center;
  padding: 30px 20px;
  background: var(--start-white);
  border-radius: 5px;
  transition: box-shadow 0.3s ease;
}
.mentor-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.mentor-card .mentor-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 3px solid var(--start-accent-2);
  background: var(--start-light);
}
.mentor-card h3 {
  font-size: 18px;
  margin-bottom: 5px;
}
.mentor-card .mentor-title {
  color: var(--start-accent-2);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}
.mentor-card p {
  font-size: 14px;
  line-height: 1.6;
}

/* --- Portfolio / Gallery grid --- */
.portfolio-grid .portfolio-item {
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: 4px;
  position: relative;
}
.portfolio-grid .portfolio-item .overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(42,46,44,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.portfolio-grid .portfolio-item:hover .overlay {
  opacity: 1;
}
.portfolio-grid .portfolio-item .overlay i {
  color: var(--start-accent-2);
  font-size: 28px;
}
.portfolio-placeholder {
  background: var(--start-light);
  border: 2px dashed var(--start-border);
  border-radius: 4px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #aaa;
  text-align: center;
  padding: 30px;
}
.portfolio-placeholder i {
  font-size: 40px;
  margin-bottom: 15px;
  color: var(--start-border);
}
.portfolio-placeholder p {
  margin: 0;
  font-size: 14px;
}

/* --- Tabs styling --- */
.custom-nav-tabs > li > a {
  border-left: 3px solid transparent;
  color: var(--start-text);
  font-weight: 600;
}
.custom-nav-tabs > li.active > a,
.custom-nav-tabs > li.active > a:hover,
.custom-nav-tabs > li.active > a:focus {
  border-left-color: var(--start-accent-2);
  color: var(--start-heading);
  background: var(--start-white);
}

/* --- Form styling --- */
.form-header {
  background: var(--start-white);
}
.start-form input[type="text"],
.start-form input[type="email"],
.start-form input[type="tel"],
.start-form textarea,
.start-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--start-border);
  border-radius: 3px;
  font-size: 14px;
  margin-bottom: 15px;
  font-family: 'Open Sans', sans-serif;
  transition: border-color 0.3s ease;
}
.start-form input:focus,
.start-form textarea:focus {
  border-color: var(--start-accent-2);
  outline: none;
}
.start-form textarea {
  min-height: 120px;
  resize: vertical;
}
.start-form .form-error {
  color: #e74c3c;
  font-size: 12px;
  margin-top: -10px;
  margin-bottom: 10px;
  display: none;
}
.start-form .form-success {
  display: none;
  margin-bottom: 18px;
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  border: 1px solid rgba(124, 143, 116, 0.45);
  background: rgba(124, 143, 116, 0.12);
  color: var(--start-dark);
}
.start-form .form-success.is-visible {
  display: block;
}
.start-form .form-success.is-error {
  background: rgba(200, 60, 50, 0.08);
  border-color: rgba(200, 60, 50, 0.4);
  color: #a8302a;
}

/* --- Timeline / Process Steps --- */
.process-steps {
  list-style: none;
  padding: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--start-border);
}
.process-steps li {
  position: relative;
  padding-left: 65px;
  padding-bottom: 30px;
}
.process-steps li:last-child {
  padding-bottom: 0;
}
.process-steps li .step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--start-accent-2);
  color: var(--start-dark);
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.process-steps li h4 {
  font-weight: 700;
  margin-bottom: 5px;
}
.process-steps li p {
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.6;
}

/* --- Footer refinements --- */
.footer {
  background: #191c1a;
}
.footer p {
  color: rgba(255,255,255,0.55);
}
.footer p a {
  color: rgba(255,255,255,0.8);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.25);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.footer p a:hover,
.footer p a:focus {
  color: var(--start-accent-2);
  text-decoration-color: var(--start-accent-2);
  outline: none;
}
.footer .gototop {
  color: var(--start-accent-2);
}
.bottomfourcol .footerLinks li {
  padding-bottom: 8px;
}
.bottomfourcol .footerLinks li a {
  color: rgba(255,255,255,0.7);
}
.bottomfourcol .footerLinks li a:hover {
  color: var(--start-accent-2);
}
.socialshare a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: rgba(255,255,255,0.7);
  margin-right: 6px;
  transition: all 0.3s ease;
}
.socialshare a:hover {
  background: var(--start-accent-2);
  border-color: var(--start-accent-2);
  color: var(--start-dark);
}

/* --- Map container --- */
.map-container {
  width: 100%;
  height: 350px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--start-border);
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Structured data icon list --- */
.icon-feature-list {
  list-style: none;
  padding: 0;
}
.icon-feature-list li {
  padding: 12px 0;
  padding-left: 40px;
  position: relative;
  font-size: 15px;
  line-height: 1.5;
  border-bottom: 1px solid var(--start-border);
}
.icon-feature-list li:last-child {
  border-bottom: none;
}
.icon-feature-list li i {
  position: absolute;
  left: 0;
  top: 15px;
  color: var(--start-accent-2);
  font-size: 18px;
}

/* --- Responsive improvements --- */
@media (max-width: 991px) {
  .start-hero h1 {
    font-size: 32px;
  }
  .start-hero h1 span {
    font-size: 32px;
  }
  .heading h1 {
    font-size: 38px;
  }
  .page_head h2 {
    font-size: 26px;
  }
}
@media (max-width: 767px) {
  .start-hero {
    min-height: 420px;
  }
  .start-hero h1 {
    font-size: 26px;
  }
  .start-hero h1 span {
    font-size: 26px;
  }
  .start-hero p {
    font-size: 15px;
  }
  .start-hero .btn-start {
    padding: 11px 25px;
    font-size: 13px;
    display: block;
    margin: 8px auto;
    max-width: 250px;
  }
  .heading h1 {
    font-size: 30px;
    line-height: 1.2;
    padding: 15px;
  }
  .heading h1 span {
    font-size: 22px;
  }
  .section_gap {
    padding: 50px 0 40px;
  }
  .page_head h2 {
    font-size: 22px;
  }
  .start-cta-section h3 {
    font-size: 20px;
  }
  .process-steps::before {
    left: 18px;
  }
  .process-steps li {
    padding-left: 50px;
  }
  .process-steps li .step-number {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }
  /* Hide the header logo entirely on mobile — burger button is the only
     header element. Covers both variants via the wrapper. */
  .logo,
  .logo a,
  .logo .logo-img,
  .logo .logo-white,
  .logo .logo-black {
    display: none !important;
    visibility: hidden !important;
  }
  .navbar-toggle {
    border-color: rgba(255,255,255,0.3);
  }
  .navbar-toggle .icon-bar {
    background-color: #fff;
  }
  .isStuck .navbar-toggle {
    border-color: rgba(0,0,0,0.3);
  }
  .isStuck .navbar-toggle .icon-bar {
    background-color: var(--start-dark);
  }
  .navbar-collapse {
    background: var(--start-dark) !important;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  /* Hide desktop underline bar inside the mobile dropdown */
  .navbar-collapse .nav.navbar-nav > li > a::after {
    display: none;
  }
  /* Opened mobile menu in sticky state still uses the dark panel */
  .isStuck .navbar-collapse {
    background: var(--start-dark) !important;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  /* Force WHITE menu text in BOTH default and sticky mobile states.
     The #wrapper prefix pushes specificity to (1,3,2) / (1,4,2) so it wins
     against the shared sticky rule .isStuck .navbar.navbar-inverse.navbar-static-top a
     at (0,4,1) — that rule was the reason earlier attempts failed. */
  #wrapper .navbar-collapse .nav > li > a,
  #wrapper .isStuck .navbar-collapse .nav > li > a {
    color: #ffffff !important;
    padding: 12px 15px !important;
  }
  #wrapper .navbar-collapse .nav > li > a:hover,
  #wrapper .navbar-collapse .nav > li > a:focus,
  #wrapper .isStuck .navbar-collapse .nav > li > a:hover,
  #wrapper .isStuck .navbar-collapse .nav > li > a:focus {
    color: var(--start-accent-2) !important;
    background: rgba(255,255,255,0.06) !important;
  }
  #wrapper .navbar-collapse .navbar-inverse .navbar-nav > .active > a,
  #wrapper .navbar-collapse .nav > li.active > a,
  #wrapper .isStuck .navbar-collapse .nav > li.active > a {
    color: var(--start-accent-2) !important;
    background: transparent !important;
  }
  .mentor-card {
    margin-bottom: 20px;
  }
  .bottomfourcol > div {
    margin-bottom: 25px;
  }
}

/* --- Skip to content link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--start-accent);
  color: var(--start-dark);
  padding: 10px 20px;
  font-weight: 700;
  z-index: 100000;
  border-radius: 0 0 4px 4px;
  text-decoration: none;
  font-size: 14px;
}
.skip-link:focus {
  top: 0;
  outline: 2px solid var(--start-dark);
  color: var(--start-dark);
}

/* --- Focus states (accessibility) --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--start-accent);
  outline-offset: 2px;
}
.nav.navbar-nav > li > a:focus-visible {
  outline-color: var(--start-accent);
  outline-offset: -2px;
}
.faq-accordion .panel-heading a:focus-visible {
  outline: 2px solid var(--start-accent);
  outline-offset: -2px;
}

/* --- Page head h1 (inner pages) --- */
.page_head h1 {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  padding: 0;
  line-height: 1.3;
}
@media (max-width: 991px) {
  .page_head h1 { font-size: 26px; }
}
@media (max-width: 767px) {
  .page_head h1 { font-size: 22px; }
}

/* --- FAQ accordion heading fix --- */
.faq-accordion .panel-heading h2 {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

/* --- Missing class fixes (index.html) --- */
.gray_section,
.gray_bg {
  background-color: var(--start-light);
}
.heading_title {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--start-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
  padding-bottom: 15px;
  position: relative;
}
.heading_title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--start-accent-2);
  margin: 12px auto 0;
}
/* --- Zasto START feature grid --- */
#zasto-start .membership_listing {
  padding: 0;
  position: static;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
#zasto-start .membership_listing > [class*="col-"] {
  display: flex;
  margin-bottom: 30px;
}
.pricingBlock {
  text-align: center;
  padding: 30px 20px;
  background: var(--start-white);
  border-radius: 6px;
  width: 100%;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.pricingBlock:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}
.pricingBlock i {
  font-size: 36px;
  color: var(--start-accent-2);
  margin-bottom: 18px;
  display: block;
}
.pricingBlock h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  min-height: 0;
}
.pricingBlock p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
  padding-bottom: 0;
}
@media (max-width: 767px) {
  #zasto-start .membership_listing > [class*="col-"] {
    width: 100%;
    float: none;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  #zasto-start .membership_listing > [class*="col-"] {
    width: 50%;
  }
}

/* --- Numbers / Stats blocks (index, rezultati) --- */
.numberBlock {
  padding: 20px 10px;
}
.numberBlock .timer,
.numberBlock span {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.numberBlock p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.numbers_section .heading_title {
  color: #fff;
}
.numbers_section .heading_title::after {
  background: var(--start-accent-2);
}

/* Numbers section — clean 2×2 mobile grid with balanced vertical gaps and
   equal item heights. Uses flex wrap on the existing Bootstrap row so the
   col-xs-6 cells align cleanly regardless of label wrapping. */
@media (max-width: 767px) {
  .numbers_section .row.text-center {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
  }
  .numbers_section .row.text-center > [class*="col-"] {
    display: flex;
    margin-bottom: 22px;
  }
  .numbers_section .row.text-center > [class*="col-"]:nth-last-child(-n+2) {
    margin-bottom: 0;
  }
  .numbers_section .numberBlock {
    width: 100%;
    padding: 14px 8px;
  }
  .numbers_section .numberBlock .timer,
  .numbers_section .numberBlock > span {
    font-size: 40px;
  }
  .numbers_section .numberBlock p {
    font-size: 12.5px;
    margin-top: 10px;
    letter-spacing: 0.4px;
  }
}

/* --- Pricing section & cards (pripreme page) --- */
.pricing-section {
  padding: 80px 0 60px;
  background: var(--start-dark);
  position: relative;
}
.pricing-section .heading_title {
  color: #fff;
}
.pricing-section .heading_title::after {
  background: var(--start-accent-2);
}
.pricing-subtitle {
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  max-width: 520px;
  margin: 0 auto 10px;
  line-height: 1.6;
}
.pricing-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}
.pricing-col {
  display: flex;
  padding: 0 15px;
}

/* Card base */
.plan {
  background: var(--start-white);
  border-radius: 8px;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: none;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 30px;
}
.plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

/* Recommended card */
.plan.best-plan {
  position: relative;
  border: 2px solid var(--start-accent-2);
  box-shadow: 0 4px 30px rgba(200,146,59,0.22);
}
.plan.best-plan:hover {
  box-shadow: 0 14px 44px rgba(200,146,59,0.32);
}
.plan.best-plan::before {
  display: none; /* replaced by .plan-badge */
}
.plan-badge {
  background: var(--start-accent-2);
  color: var(--start-dark);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 0;
  text-align: center;
}

/* Card header */
.plan-header {
  padding: 28px 20px 22px;
  background: transparent;
}
.plan-header h3 {
  color: var(--start-heading);
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.plan.best-plan .plan-header {
  background: transparent;
}
.plan.best-plan .plan-header h3 {
  color: var(--start-heading);
}

/* Price display */
.plan .plan-price {
  padding: 0 20px 24px;
  text-align: center;
  border-bottom: 1px solid var(--start-border);
}
.plan .plan-price .price {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--start-heading);
  line-height: 1.1;
  font-family: 'Montserrat', sans-serif;
}
.plan .plan-price .price small {
  font-size: 18px;
  font-weight: 600;
}
.plan.best-plan .plan-price .price {
  color: var(--start-accent-hover);
}
.plan .plan-price .period {
  display: block;
  font-size: 13px;
  color: var(--start-text);
  margin-top: 6px;
  opacity: 0.75;
}

/* Feature list */
.plan .plan-features {
  list-style: none;
  padding: 20px 28px;
  margin: 0;
  text-align: left;
  flex-grow: 1;
}
.plan .plan-features li {
  padding: 9px 0 9px 26px;
  font-size: 14px;
  color: var(--start-text);
  position: relative;
  line-height: 1.5;
  border-bottom: none;
}
.plan .plan-features li::before {
  content: '\f00c';
  font-family: FontAwesome;
  position: absolute;
  left: 0;
  top: 11px;
  color: var(--start-accent-2);
  font-size: 13px;
}

/* CTA button */
.plan-button {
  padding: 8px 28px 28px;
}
.plan-button .btn-start {
  display: block;
  background: var(--start-accent-2);
  color: var(--start-dark);
  font-weight: 700;
  font-size: 13px;
  padding: 13px 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-radius: 4px;
  border: 2px solid var(--start-accent-2);
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
}
.plan-button .btn-start:hover {
  background: var(--start-accent-hover);
  border-color: var(--start-accent-hover);
  color: var(--start-dark);
  text-decoration: none;
}
.plan.best-plan .plan-button .btn-start {
  background: var(--start-dark);
  border-color: var(--start-dark);
  color: #fff;
}
.plan.best-plan .plan-button .btn-start:hover {
  background: #3a3f3c;
  border-color: #3a3f3c;
}

/* Standalone .btn-start (used outside cards) */
a.btn-start {
  display: inline-block;
  background: var(--start-accent-2);
  color: var(--start-dark);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 30px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 3px;
  border: 2px solid var(--start-accent-2);
  transition: all 0.3s ease;
  text-decoration: none;
}
a.btn-start:hover {
  background: var(--start-accent-hover);
  border-color: var(--start-accent-hover);
  color: var(--start-dark);
  text-decoration: none;
}

/* Pricing responsive */
@media (max-width: 991px) {
  .pricing-section {
    padding: 60px 0 40px;
  }
  .plan .plan-price .price {
    font-size: 26px;
  }
}
@media (max-width: 767px) {
  .pricing-row {
    flex-direction: column;
    align-items: center;
  }
  .pricing-col {
    width: 100%;
    max-width: 380px;
  }
  .pricing-section {
    padding: 50px 0 30px;
  }
  .plan.best-plan {
    order: -1; /* recommended card first on mobile */
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .pricing-col {
    width: 50%;
  }
  .pricing-col:last-child {
    width: 50%;
    margin: 0 auto;
    float: none;
  }
}

/* --- Number item (rezultati page) --- */
.number-item {
  padding: 20px 10px;
}
.number-item .timer,
.number-item span {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.number-item p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Footer bottom about --- */
.bottomAbout {
  /* structural class — no special styles needed beyond inherited */
}

/* --- Gallery grid item spacing --- */
.gallery-item {
  margin-bottom: 30px;
}
.intro-text {
  max-width: 800px;
  margin: 0 auto 30px;
}
.filter-bar {
  margin-bottom: 30px;
}

/* --- Mentor photo placeholder --- */
.mentor-photo-placeholder {
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mentor-photo-placeholder i {
  font-size: 60px;
  color: #ccc;
}

/* --- TikTok muted text --- */
.text-muted-light {
  color: #999;
}

/* --- Spacer utilities --- */
.gap20 {
  height: 20px;
  clear: both;
}
.gap {
  height: 25px;
  clear: both;
}

/* --- Gallery (galerija-atmosfera.html) --- */
.gallery-section {
  padding-top: 50px;
  padding-bottom: 70px;
}
.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}
.gallery-filter-btn {
  background: var(--start-white);
  border: 1px solid var(--start-border);
  color: var(--start-text);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  font-family: inherit;
}
.gallery-filter-btn:hover,
.gallery-filter-btn:focus {
  background: #fafafa;
  border-color: var(--start-accent-2);
  color: var(--start-heading);
  outline: none;
}
.gallery-filter-btn.active,
.gallery-filter-btn.active:hover,
.gallery-filter-btn.active:focus {
  background: var(--start-accent-2);
  border-color: var(--start-accent-2);
  color: var(--start-dark);
  box-shadow: 0 6px 18px rgba(200,146,59,0.3);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 560px) {
  .gallery-grid { gap: 18px; }
}
@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}
@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  display: block;
}
.gallery-item-btn {
  display: block;
  width: 100%;
  padding: 10px;
  background: var(--start-white);
  border: 1px solid var(--start-border);
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  font-family: inherit;
}
.gallery-item-btn:hover,
.gallery-item-btn:focus {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.1);
  border-color: #d8d8d8;
  outline: none;
}
.gallery-item-btn:focus-visible {
  outline: 2px solid var(--start-accent);
  outline-offset: 3px;
}
.gallery-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f4f4;
  border-radius: 3px;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.gallery-thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-item-btn:hover .gallery-thumb img,
.gallery-item-btn:focus .gallery-thumb img {
  transform: scale(1.03);
}
.gallery-empty {
  text-align: center;
  color: var(--start-text);
  margin: 30px 0 0;
  font-size: 15px;
}

/* Lightbox */
.gallery-lightbox {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(15, 15, 25, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 30px;
}
.gallery-lightbox.open {
  display: flex;
}
.gallery-lightbox-stage {
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  display: block;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  border-radius: 4px;
  background: var(--start-dark);
}
.gallery-lightbox-close,
.gallery-lightbox-prev,
.gallery-lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 50%;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  font-family: inherit;
  padding: 0;
}
.gallery-lightbox-close:hover,
.gallery-lightbox-close:focus,
.gallery-lightbox-prev:hover,
.gallery-lightbox-prev:focus,
.gallery-lightbox-next:hover,
.gallery-lightbox-next:focus {
  background: var(--start-accent-2);
  border-color: var(--start-accent-2);
  color: var(--start-dark);
  outline: none;
}
.gallery-lightbox-close {
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  font-size: 28px;
  font-weight: 300;
}
.gallery-lightbox-prev,
.gallery-lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 18px;
}
.gallery-lightbox-prev { left: 22px; }
.gallery-lightbox-next { right: 22px; }
.gallery-lightbox-counter {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  letter-spacing: 1px;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  background: rgba(0,0,0,0.3);
}

@media (max-width: 767px) {
  .gallery-section {
    padding-top: 40px;
    padding-bottom: 50px;
  }
  .gallery-filter {
    gap: 8px;
    margin-bottom: 28px;
  }
  .gallery-filter-btn {
    padding: 9px 18px;
    font-size: 12px;
    letter-spacing: 0.8px;
  }
  .gallery-item-btn {
    padding: 8px;
  }
  .gallery-lightbox {
    padding: 12px;
  }
  .gallery-lightbox-close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
  .gallery-lightbox-prev,
  .gallery-lightbox-next {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }
  .gallery-lightbox-prev { left: 10px; }
  .gallery-lightbox-next { right: 10px; }
  .gallery-lightbox-counter {
    bottom: 12px;
    font-size: 12px;
  }
}

/* --- Why START works — 3 feature cards (rezultati.html) --- */
.why-start-section .heading_title {
  margin-bottom: 10px;
}
.why-start-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
}
.why-start-col {
  display: flex;
  margin-bottom: 28px;
}
.why-card {
  position: relative;
  width: 100%;
  background: var(--start-white);
  border: 1px solid var(--start-border);
  border-radius: 6px;
  padding: 44px 28px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}
.why-card::after {
  content: '';
  position: absolute;
  left: 24%;
  right: 24%;
  bottom: 0;
  height: 3px;
  background: var(--start-accent-2);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease, left 0.3s ease, right 0.3s ease;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 38px rgba(0,0,0,0.09);
  border-color: #d8d8d8;
}
.why-card:hover::after {
  transform: scaleX(1);
  left: 12%;
  right: 12%;
}
.why-card-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(172, 183, 169, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--start-accent-2);
  font-size: 28px;
  margin-bottom: 22px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.why-card:hover .why-card-icon {
  background: var(--start-accent-2);
  color: var(--start-dark);
}
.why-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--start-heading);
  margin: 0 0 12px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.why-card-text {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--start-text);
  margin: 0;
  max-width: 280px;
  padding: 0;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .why-start-grid {
    margin-top: 30px;
  }
  .why-card {
    padding: 34px 18px 28px;
  }
  .why-card-icon {
    width: 62px;
    height: 62px;
    font-size: 24px;
    margin-bottom: 18px;
  }
  .why-card-title {
    font-size: 15.5px;
  }
  .why-card-text {
    font-size: 14px;
    line-height: 1.65;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .why-start-grid {
    flex-direction: column;
    align-items: center;
    margin-top: 24px;
  }
  .why-start-col {
    width: 100%;
    max-width: 420px;
    margin-bottom: 20px;
  }
  .why-card {
    padding: 34px 24px 28px;
  }
}

/* --- Curriculum Tabs (nastavni-program.html) --- */
.curriculum-section {
  padding-top: 60px;
  padding-bottom: 80px;
}
.curriculum-tabs .curriculum-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.curriculum-tabs .curriculum-nav > li {
  margin: 0;
  padding: 0;
  display: block;
}
.curriculum-tabs .curriculum-nav > li > a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--start-white);
  border: 1px solid var(--start-border);
  border-left: 3px solid transparent;
  border-radius: 4px;
  color: var(--start-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
  text-decoration: none;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.curriculum-tabs .curriculum-nav > li > a .tab-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--start-light);
  color: var(--start-accent-2);
  font-size: 15px;
  flex-shrink: 0;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.curriculum-tabs .curriculum-nav > li > a .tab-label {
  flex: 1;
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}
.curriculum-tabs .curriculum-nav > li > a:hover,
.curriculum-tabs .curriculum-nav > li > a:focus {
  color: var(--start-heading);
  background: #fafafa;
  border-color: #d8d8d8;
  border-left-color: var(--start-accent-2);
  text-decoration: none;
  outline: none;
}
.curriculum-tabs .curriculum-nav > li > a:hover .tab-icon,
.curriculum-tabs .curriculum-nav > li > a:focus .tab-icon {
  background: #e6ece4;
}
.curriculum-tabs .curriculum-nav > li.active > a,
.curriculum-tabs .curriculum-nav > li.active > a:hover,
.curriculum-tabs .curriculum-nav > li.active > a:focus {
  color: var(--start-heading);
  background: var(--start-white);
  border-color: var(--start-border);
  border-left: 3px solid var(--start-accent-2);
  box-shadow: 0 6px 22px rgba(0,0,0,0.07);
  cursor: default;
}
.curriculum-tabs .curriculum-nav > li.active > a .tab-icon {
  background: var(--start-accent-2);
  color: var(--start-dark);
}

/* Right content card */
.curriculum-tabs .curriculum-content {
  background: var(--start-white);
  border: 1px solid var(--start-border);
  border-radius: 6px;
  padding: 40px 40px 36px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.05);
}
/* Initial neutral state — no tab clicked yet, panel hidden until first interaction */
.curriculum-tabs .curriculum-content.is-empty {
  display: none;
}
.curriculum-tabs .tab-pane h3 {
  position: relative;
  margin: 0 0 6px;
  padding-bottom: 16px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--start-heading);
  border-bottom: 1px solid var(--start-border);
}
.curriculum-tabs .tab-pane h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 48px;
  height: 2px;
  background: var(--start-accent-2);
}
.curriculum-tabs .tab-pane .lead-text {
  margin: 20px 0 22px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--start-text);
  padding: 0;
}
.curriculum-tabs .curriculum-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
}
.curriculum-tabs .curriculum-bullets li {
  position: relative;
  padding: 11px 0 11px 30px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--start-text);
  border-bottom: 1px solid var(--start-border);
}
.curriculum-tabs .curriculum-bullets li:last-child {
  border-bottom: none;
  padding-bottom: 2px;
}
.curriculum-tabs .curriculum-bullets li::before {
  content: '\f00c';
  font-family: FontAwesome;
  position: absolute;
  left: 2px;
  top: 13px;
  color: var(--start-accent-2);
  font-size: 13px;
}

/* Tablet */
@media (max-width: 991px) {
  .curriculum-section {
    padding-top: 50px;
    padding-bottom: 60px;
  }
  .curriculum-tabs .curriculum-content {
    padding: 32px 28px 28px;
  }
  .curriculum-tabs .tab-pane h3 {
    font-size: 21px;
  }
  .curriculum-tabs .curriculum-nav > li > a {
    padding: 14px 14px;
    font-size: 13.5px;
    gap: 12px;
  }
  .curriculum-tabs .curriculum-nav > li > a .tab-icon {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
}

/* Mobile: tabs become a compact pill grid above the content */
@media (max-width: 767px) {
  .curriculum-tabs .row > [class*="col-"] + [class*="col-"] {
    margin-top: 22px;
  }
  .curriculum-tabs .curriculum-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .curriculum-tabs .curriculum-nav > li {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
  }
  .curriculum-tabs .curriculum-nav > li > a {
    padding: 12px 12px;
    min-height: 62px;
    gap: 10px;
    font-size: 12.5px;
    border-left: 1px solid var(--start-border);
    border-bottom: 3px solid transparent;
    border-radius: 4px;
    text-align: left;
  }
  .curriculum-tabs .curriculum-nav > li > a .tab-icon {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .curriculum-tabs .curriculum-nav > li > a:hover,
  .curriculum-tabs .curriculum-nav > li > a:focus {
    border-left-color: #d8d8d8;
    border-bottom-color: var(--start-accent-2);
  }
  .curriculum-tabs .curriculum-nav > li.active > a,
  .curriculum-tabs .curriculum-nav > li.active > a:hover,
  .curriculum-tabs .curriculum-nav > li.active > a:focus {
    border-left: 1px solid var(--start-border);
    border-bottom: 3px solid var(--start-accent-2);
  }
  .curriculum-tabs .curriculum-content {
    padding: 26px 22px 22px;
  }
  .curriculum-tabs .tab-pane h3 {
    font-size: 20px;
  }
  .curriculum-tabs .tab-pane .lead-text {
    font-size: 14.5px;
    line-height: 1.7;
  }
  .curriculum-tabs .curriculum-bullets li {
    font-size: 14px;
  }
}

/* Very narrow phones — full-width stacked tabs */
@media (max-width: 479px) {
  .curriculum-tabs .curriculum-nav > li {
    flex: 1 1 100%;
  }
}

/* --- Utility --- */
.text-accent {
  color: var(--start-accent);
}
.bg-accent {
  background-color: var(--start-accent);
}
.mb-0 { margin-bottom: 0; }
.mb-30 { margin-bottom: 30px; }
.mt-30 { margin-top: 30px; }
.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }

/* --- Meni prijavljenog polaznika: "Moj profil" ▾ (Moj profil, Kursevi, Moji kursevi, Odjava) ---
   Desktop (≥811px): padajući panel ispod stavke (hover, fokus ili dodir — js/start-custom.js).
   Burger meni (≤810px): stavke su uvek prikazane, uvučene ispod "Moj profil". */
.nav-account-toggle .fa { margin-left: 3px; font-size: 12px; }
.nav-account-menu { list-style: none; margin: 0; padding: 0; }
.nav-account-logout form { margin: 0; }
#wrapper .navbar.navbar-inverse.navbar-static-top .nav-account-menu a,
#wrapper .nav-account-menu button {
  display: block;
  width: 100%;
  padding: 10px 20px;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
  line-height: 1.4;
  cursor: pointer;
}
@media (min-width: 811px) {
  .nav-account { position: relative; }
  .nav-account-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 210px;
    padding: 6px 0;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 10px 28px rgba(42, 46, 44, 0.18);
    z-index: 1000;
  }
  .nav-account:hover > .nav-account-menu,
  .nav-account:focus-within > .nav-account-menu,
  .nav-account.is-open > .nav-account-menu { display: block; }
  /* Isti izgled u običnom i "lepljivom" (sticky) zaglavlju. */
  #wrapper .navbar.navbar-inverse.navbar-static-top .nav-account-menu a,
  #wrapper .nav-account-menu button { color: var(--start-dark) !important; }
  #wrapper .navbar.navbar-inverse.navbar-static-top .nav-account-menu a:hover,
  #wrapper .navbar.navbar-inverse.navbar-static-top .nav-account-menu a:focus,
  #wrapper .nav-account-menu button:hover,
  #wrapper .nav-account-menu button:focus { color: var(--start-accent-2) !important; background: var(--start-light); }
  #wrapper .navbar.navbar-inverse.navbar-static-top .nav-account-menu .active > a { color: var(--start-accent-2) !important; }
  .nav-account-logout { border-top: 1px solid var(--start-border); margin-top: 4px; padding-top: 4px; }
}
@media (min-width: 811px) and (max-width: 991px) {
  .nav-account-toggle .fa { display: none; }
}
@media (max-width: 810px) {
  .nav-account-toggle .fa { display: none; }
  .nav-account-menu { padding-bottom: 6px; }
  #wrapper .navbar.navbar-inverse.navbar-static-top .nav-account-menu a,
  #wrapper .nav-account-menu button {
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 8px 15px !important;
    text-align: center;
    text-transform: none;
    letter-spacing: 0;
    font-size: 14px;
  }
  #wrapper .navbar.navbar-inverse.navbar-static-top .nav-account-menu a:hover,
  #wrapper .navbar.navbar-inverse.navbar-static-top .nav-account-menu a:focus,
  #wrapper .navbar.navbar-inverse.navbar-static-top .nav-account-menu .active > a,
  #wrapper .nav-account-menu button:hover,
  #wrapper .nav-account-menu button:focus { color: var(--start-accent-2) !important; background: rgba(255, 255, 255, 0.06); }
}
