/* ================================================================
   ROYAL — base.css
   Utility klase + komponente (modal, carousel, accordion, tabs,
   dropdown, multi-carousel, navbar, lightbox).
   Zamena za mdb-royal.min.css — bez MDBootstrap-a.
   ================================================================ */

/* ============ CONTAINER / GRID (Bootstrap-style) ============ */
.container, .container-fluid {
  width: 100%; padding-right: 12px; padding-left: 12px;
  margin-right: auto; margin-left: auto;
}
.container { max-width: 1200px; }
.container-fluid { max-width: 100%; }
.narrow-3 { max-width: 1100px; margin-left: auto; margin-right: auto; }

@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }

.row {
  display: flex; flex-wrap: wrap;
  margin-right: -12px; margin-left: -12px;
}
.row > * { flex-shrink: 0; width: 100%; padding-right: 12px; padding-left: 12px; }
.row.g-0 { margin: 0; }
.row.g-0 > * { padding: 0; }
.row.g-3 { margin: -8px; }
.row.g-3 > * { padding: 8px; }
.row.g-4 { margin: -12px; }
.row.g-4 > * { padding: 12px; }
.row.g-lg-4 > * { padding-bottom: 12px; padding-top: 12px; }

.col { flex: 1 0 0%; }
.col-auto { flex: 0 0 auto; width: auto; }
.col-1 { flex: 0 0 8.3333333%; max-width: 8.3333333%; }
.col-2 { flex: 0 0 16.6666667%; max-width: 16.6666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.3333333%; max-width: 33.3333333%; }
.col-5 { flex: 0 0 41.6666667%; max-width: 41.6666667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.3333333%; max-width: 58.3333333%; }
.col-8 { flex: 0 0 66.6666667%; max-width: 66.6666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.3333333%; max-width: 83.3333333%; }
.col-11 { flex: 0 0 91.6666667%; max-width: 91.6666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

@media (min-width: 576px) {
  .col-sm-1 { flex: 0 0 8.3333333%; max-width: 8.3333333%; }
  .col-sm-2 { flex: 0 0 16.6666667%; max-width: 16.6666667%; }
  .col-sm-3 { flex: 0 0 25%; max-width: 25%; }
  .col-sm-4 { flex: 0 0 33.3333333%; max-width: 33.3333333%; }
  .col-sm-5 { flex: 0 0 41.6666667%; max-width: 41.6666667%; }
  .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
  .col-sm-7 { flex: 0 0 58.3333333%; max-width: 58.3333333%; }
  .col-sm-8 { flex: 0 0 66.6666667%; max-width: 66.6666667%; }
  .col-sm-9 { flex: 0 0 75%; max-width: 75%; }
  .col-sm-10 { flex: 0 0 83.3333333%; max-width: 83.3333333%; }
  .col-sm-11 { flex: 0 0 91.6666667%; max-width: 91.6666667%; }
  .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
}
@media (min-width: 768px) {
  .col-md-1 { flex: 0 0 8.3333333%; max-width: 8.3333333%; }
  .col-md-2 { flex: 0 0 16.6666667%; max-width: 16.6666667%; }
  .col-md-3 { flex: 0 0 25%; max-width: 25%; }
  .col-md-4 { flex: 0 0 33.3333333%; max-width: 33.3333333%; }
  .col-md-5 { flex: 0 0 41.6666667%; max-width: 41.6666667%; }
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-7 { flex: 0 0 58.3333333%; max-width: 58.3333333%; }
  .col-md-8 { flex: 0 0 66.6666667%; max-width: 66.6666667%; }
  .col-md-9 { flex: 0 0 75%; max-width: 75%; }
  .col-md-10 { flex: 0 0 83.3333333%; max-width: 83.3333333%; }
  .col-md-11 { flex: 0 0 91.6666667%; max-width: 91.6666667%; }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
  .offset-md-1 { margin-left: 8.3333333%; }
  .offset-md-2 { margin-left: 16.6666667%; }
  .offset-md-3 { margin-left: 25%; }
}
@media (min-width: 992px) {
  .col-lg-1 { flex: 0 0 8.3333333%; max-width: 8.3333333%; }
  .col-lg-2 { flex: 0 0 16.6666667%; max-width: 16.6666667%; }
  .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  .col-lg-4 { flex: 0 0 33.3333333%; max-width: 33.3333333%; }
  .col-lg-5 { flex: 0 0 41.6666667%; max-width: 41.6666667%; }
  .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  .col-lg-7 { flex: 0 0 58.3333333%; max-width: 58.3333333%; }
  .col-lg-8 { flex: 0 0 66.6666667%; max-width: 66.6666667%; }
  .col-lg-9 { flex: 0 0 75%; max-width: 75%; }
  .col-lg-10 { flex: 0 0 83.3333333%; max-width: 83.3333333%; }
  .col-lg-11 { flex: 0 0 91.6666667%; max-width: 91.6666667%; }
  .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}
@media (min-width: 1200px) {
  .col-xl-1 { flex: 0 0 8.3333333%; max-width: 8.3333333%; }
  .col-xl-2 { flex: 0 0 16.6666667%; max-width: 16.6666667%; }
  .col-xl-3 { flex: 0 0 25%; max-width: 25%; }
  .col-xl-4 { flex: 0 0 33.3333333%; max-width: 33.3333333%; }
  .col-xl-5 { flex: 0 0 41.6666667%; max-width: 41.6666667%; }
  .col-xl-6 { flex: 0 0 50%; max-width: 50%; }
  .col-xl-7 { flex: 0 0 58.3333333%; max-width: 58.3333333%; }
  .col-xl-8 { flex: 0 0 66.6666667%; max-width: 66.6666667%; }
  .col-xl-9 { flex: 0 0 75%; max-width: 75%; }
  .col-xl-10 { flex: 0 0 83.3333333%; max-width: 83.3333333%; }
  .col-xl-11 { flex: 0 0 91.6666667%; max-width: 91.6666667%; }
  .col-xl-12 { flex: 0 0 100%; max-width: 100%; }
}

/* ============ DISPLAY ============ */
.d-none { display: none !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.d-grid { display: grid !important; }
.d-table { display: table !important; }

@media (min-width: 576px) {
  .d-sm-none { display: none !important; }
  .d-sm-block { display: block !important; }
  .d-sm-flex { display: flex !important; }
  .d-sm-inline-block { display: inline-block !important; }
}
@media (min-width: 768px) {
  .d-md-none { display: none !important; }
  .d-md-block { display: block !important; }
  .d-md-flex { display: flex !important; }
  .d-md-inline-block { display: inline-block !important; }
}
@media (min-width: 992px) {
  .d-lg-none { display: none !important; }
  .d-lg-block { display: block !important; }
  .d-lg-flex { display: flex !important; }
  .d-lg-inline-block { display: inline-block !important; }
}
@media (min-width: 1200px) {
  .d-xl-none { display: none !important; }
  .d-xl-block { display: block !important; }
  .d-xl-flex { display: flex !important; }
  .d-xl-inline-block { display: inline-block !important; }
}

/* ============ FLEX UTILITIES ============ */
.flex-row { flex-direction: row !important; }
.flex-row-reverse { flex-direction: row-reverse !important; }
.flex-column { flex-direction: column !important; }
.flex-column-reverse { flex-direction: column-reverse !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-nowrap { flex-wrap: nowrap !important; }
.flex-grow-0 { flex-grow: 0 !important; }
.flex-grow-1 { flex-grow: 1 !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.flex-shrink-1 { flex-shrink: 1 !important; }
.flex-fill { flex: 1 1 auto !important; }

.justify-content-start { justify-content: flex-start !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-around { justify-content: space-around !important; }
.justify-content-evenly { justify-content: space-evenly !important; }

.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }
.align-items-center { align-items: center !important; }
.align-items-baseline { align-items: baseline !important; }
.align-items-stretch { align-items: stretch !important; }

.align-self-start { align-self: flex-start !important; }
.align-self-end { align-self: flex-end !important; }
.align-self-center { align-self: center !important; }
.align-self-stretch { align-self: stretch !important; }

@media (min-width: 768px) {
  .justify-content-md-center { justify-content: center !important; }
  .justify-content-md-between { justify-content: space-between !important; }
  .align-items-md-center { align-items: center !important; }
}
@media (min-width: 992px) {
  .flex-lg-row { flex-direction: row !important; }
  .flex-lg-column { flex-direction: column !important; }
  .justify-content-lg-center { justify-content: center !important; }
  .align-items-lg-center { align-items: center !important; }
}

/* ============ POSITION ============ */
.position-static { position: static !important; }
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.position-fixed { position: fixed !important; }
.position-sticky { position: sticky !important; }
.sticky-top { position: sticky !important; top: 0; z-index: 1020; }

.top-0 { top: 0 !important; }
.bottom-0 { bottom: 0 !important; }
.start-0 { left: 0 !important; }
.end-0 { right: 0 !important; }
.top-50 { top: 50% !important; }
.start-50 { left: 50% !important; }
.translate-middle { transform: translate(-50%, -50%) !important; }

.z-1 { z-index: 1 !important; }
.z-100 { z-index: 100 !important; }
.z-1000 { z-index: 1000 !important; }

/* ============ SIZING ============ */
.w-25 { width: 25% !important; }
.w-50 { width: 50% !important; }
.w-75 { width: 75% !important; }
.w-100 { width: 100% !important; }
.w-auto { width: auto !important; }

.h-25 { height: 25% !important; }
.h-50 { height: 50% !important; }
.h-75 { height: 75% !important; }
.h-100 { height: 100% !important; }
.h-auto { height: auto !important; }

.mw-100 { max-width: 100% !important; }
.mh-100 { max-height: 100% !important; }
.vh-100 { height: 100vh !important; }
.min-vh-100 { min-height: 100vh !important; }

/* ============ SPACING (Bootstrap scale + Royal extras) ============
   0=0, 1=.25rem, 2=.5rem, 3=1rem, 4=1.5rem, 5=3rem, 6=4rem, 7=5rem, 8=6rem
*/
.m-0 { margin: 0 !important; }
.m-1 { margin: .25rem !important; }
.m-2 { margin: .5rem !important; }
.m-3 { margin: 1rem !important; }
.m-4 { margin: 1.5rem !important; }
.m-5 { margin: 3rem !important; }
.m-auto { margin: auto !important; }

.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: .25rem !important; } .mt-2 { margin-top: .5rem !important; }
.mt-3 { margin-top: 1rem !important; } .mt-4 { margin-top: 1.5rem !important; } .mt-5 { margin-top: 3rem !important; }
.mt-6 { margin-top: 4rem !important; } .mt-7 { margin-top: 5rem !important; } .mt-auto { margin-top: auto !important; }

.mb-0 { margin-bottom: 0 !important; } .mb-1 { margin-bottom: .25rem !important; } .mb-2 { margin-bottom: .5rem !important; }
.mb-3 { margin-bottom: 1rem !important; } .mb-4 { margin-bottom: 1.5rem !important; } .mb-5 { margin-bottom: 3rem !important; }
.mb-6 { margin-bottom: 4rem !important; } .mb-7 { margin-bottom: 5rem !important; } .mb-auto { margin-bottom: auto !important; }

.ms-0 { margin-left: 0 !important; } .ms-1 { margin-left: .25rem !important; } .ms-2 { margin-left: .5rem !important; }
.ms-3 { margin-left: 1rem !important; } .ms-4 { margin-left: 1.5rem !important; } .ms-5 { margin-left: 3rem !important; }
.ms-auto { margin-left: auto !important; }

.me-0 { margin-right: 0 !important; } .me-1 { margin-right: .25rem !important; } .me-2 { margin-right: .5rem !important; }
.me-3 { margin-right: 1rem !important; } .me-4 { margin-right: 1.5rem !important; } .me-5 { margin-right: 3rem !important; }
.me-auto { margin-right: auto !important; }

.mx-0 { margin-left: 0 !important; margin-right: 0 !important; }
.mx-1 { margin-left: .25rem !important; margin-right: .25rem !important; }
.mx-2 { margin-left: .5rem !important; margin-right: .5rem !important; }
.mx-3 { margin-left: 1rem !important; margin-right: 1rem !important; }
.mx-4 { margin-left: 1.5rem !important; margin-right: 1.5rem !important; }
.mx-5 { margin-left: 3rem !important; margin-right: 3rem !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }

.my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.my-1 { margin-top: .25rem !important; margin-bottom: .25rem !important; }
.my-2 { margin-top: .5rem !important; margin-bottom: .5rem !important; }
.my-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }
.my-auto { margin-top: auto !important; margin-bottom: auto !important; }

.p-0 { padding: 0 !important; } .p-1 { padding: .25rem !important; } .p-2 { padding: .5rem !important; }
.p-3 { padding: 1rem !important; } .p-4 { padding: 1.5rem !important; } .p-5 { padding: 3rem !important; }

.pt-0 { padding-top: 0 !important; } .pt-1 { padding-top: .25rem !important; } .pt-2 { padding-top: .5rem !important; }
.pt-3 { padding-top: 1rem !important; } .pt-4 { padding-top: 1.5rem !important; } .pt-5 { padding-top: 3rem !important; }

.pb-0 { padding-bottom: 0 !important; } .pb-1 { padding-bottom: .25rem !important; } .pb-2 { padding-bottom: .5rem !important; }
.pb-3 { padding-bottom: 1rem !important; } .pb-4 { padding-bottom: 1.5rem !important; } .pb-5 { padding-bottom: 3rem !important; }

.ps-0 { padding-left: 0 !important; } .ps-1 { padding-left: .25rem !important; } .ps-2 { padding-left: .5rem !important; }
.ps-3 { padding-left: 1rem !important; } .ps-4 { padding-left: 1.5rem !important; } .ps-5 { padding-left: 3rem !important; }

.pe-0 { padding-right: 0 !important; } .pe-1 { padding-right: .25rem !important; } .pe-2 { padding-right: .5rem !important; }
.pe-3 { padding-right: 1rem !important; } .pe-4 { padding-right: 1.5rem !important; } .pe-5 { padding-right: 3rem !important; }

.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.px-1 { padding-left: .25rem !important; padding-right: .25rem !important; }
.px-2 { padding-left: .5rem !important; padding-right: .5rem !important; }
.px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-5 { padding-left: 3rem !important; padding-right: 3rem !important; }

.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-1 { padding-top: .25rem !important; padding-bottom: .25rem !important; }
.py-2 { padding-top: .5rem !important; padding-bottom: .5rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.py-6 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
.py-7 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
.py-8 { padding-top: 6rem !important; padding-bottom: 6rem !important; }

@media (min-width: 992px) {
  .py-lg-6 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
  .py-lg-7 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
  .py-lg-8 { padding-top: 6rem !important; padding-bottom: 6rem !important; }
  .mb-lg-7 { margin-bottom: 5rem !important; }
  .mt-lg-7 { margin-top: 5rem !important; }
  .mt-lg-5 { margin-top: 3rem !important; }
  .px-lg-5 { padding-left: 3rem !important; padding-right: 3rem !important; }
}

/* ============ TEXT UTILITIES ============ */
.text-start { text-align: left !important; }
.text-end { text-align: right !important; }
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

.text-uppercase { text-transform: uppercase !important; }
.text-lowercase { text-transform: lowercase !important; }
.text-capitalize { text-transform: capitalize !important; }

.text-white { color: #fff !important; }
.text-black { color: #000 !important; }
.text-muted { color: #6c757d !important; }
.text-decoration-none { text-decoration: none !important; }
.text-nowrap { white-space: nowrap !important; }
.text-wrap { white-space: normal !important; }
.fw-bold { font-weight: 700 !important; }
.fw-normal { font-weight: 400 !important; }
.fw-light { font-weight: 300 !important; }

@media (min-width: 992px) {
  .text-lg-start { text-align: left !important; }
  .text-lg-center { text-align: center !important; }
  .text-lg-end { text-align: right !important; }
}

/* ============ BACKGROUNDS / BORDERS ============ */
.bg-white { background-color: #fff !important; }
.bg-transparent { background-color: transparent !important; }
.bg-light { background-color: #f8f9fa !important; }
.bg-dark { background-color: #212529 !important; }

.border { border: 1px solid rgba(0,0,0,.1) !important; }
.border-0 { border: 0 !important; }
.border-top { border-top: 1px solid rgba(0,0,0,.1) !important; }
.border-bottom { border-bottom: 1px solid rgba(0,0,0,.1) !important; }

.rounded { border-radius: .375rem !important; }
.rounded-0 { border-radius: 0 !important; }
.rounded-1 { border-radius: .25rem !important; }
.rounded-2 { border-radius: .375rem !important; }
.rounded-3 { border-radius: .5rem !important; }
.rounded-4 { border-radius: .75rem !important; }
.rounded-5 { border-radius: 1rem !important; }
.rounded-circle { border-radius: 50% !important; }
.rounded-pill { border-radius: 50rem !important; }
.rounded-50 { border-radius: 50% !important; }

.shadow-sm { box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important; }
.shadow { box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important; }
.shadow-lg { box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important; }
.shadow-none { box-shadow: none !important; }
.box-shadow-none { box-shadow: none !important; }

/* ============ OVERFLOW / VISIBILITY ============ */
.overflow-auto { overflow: auto !important; }
.overflow-hidden { overflow: hidden !important; }
.overflow-visible { overflow: visible !important; }
.overflow-scroll { overflow: scroll !important; }
.overflow-x-hidden { overflow-x: hidden !important; }

.invisible { visibility: hidden !important; }
.visible { visibility: visible !important; }
.opacity-0 { opacity: 0 !important; }
.opacity-50 { opacity: .5 !important; }
.opacity-100 { opacity: 1 !important; }

/* ============ MISC ============ */
.cursor-pointer { cursor: pointer !important; }
.user-select-none { user-select: none !important; }
.lh-1 { line-height: 1 !important; }
.lh-sm { line-height: 1.25 !important; }
.lh-base { line-height: 1.5 !important; }
.lh-lg { line-height: 2 !important; }
.text-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============ COMPONENTS: NAV / NAVBAR (used on legacy pages) ============ */
.navbar { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: .5rem 1rem; }
.navbar-brand { display: inline-block; padding-top: .3125rem; padding-bottom: .3125rem; margin-right: 1rem; font-size: 1.25rem; line-height: inherit; white-space: nowrap; text-decoration: none; }
.navbar-nav { display: flex; flex-direction: column; padding-left: 0; margin-bottom: 0; list-style: none; }
.navbar-nav .nav-link { padding-right: 0; padding-left: 0; }
.navbar-collapse { flex-basis: 100%; flex-grow: 1; align-items: center; }
.navbar-toggler { padding: .25rem .75rem; font-size: 1.25rem; line-height: 1; background-color: transparent; border: 1px solid transparent; border-radius: .25rem; cursor: pointer; }
.navbar-toggler:hover { text-decoration: none; }

.collapse:not(.show) { display: none; }
.collapse.show { display: block; }
.collapsing { height: 0; overflow: hidden; transition: height .35s ease; }

@media (min-width: 992px) {
  .navbar-expand-lg { flex-wrap: nowrap; justify-content: flex-start; }
  .navbar-expand-lg .navbar-nav { flex-direction: row; }
  .navbar-expand-lg .navbar-nav .nav-link { padding-right: .5rem; padding-left: .5rem; }
  .navbar-expand-lg .navbar-collapse { display: flex !important; flex-basis: auto; }
  .navbar-expand-lg .navbar-toggler { display: none; }
}
@media (min-width: 1200px) {
  .navbar-expand-xl { flex-wrap: nowrap; justify-content: flex-start; }
  .navbar-expand-xl .navbar-nav { flex-direction: row; }
  .navbar-expand-xl .navbar-collapse { display: flex !important; flex-basis: auto; }
  .navbar-expand-xl .navbar-toggler { display: none; }
}

/* ============ COMPONENTS: TABS ============ */
.nav-tabs { display: flex; flex-wrap: wrap; padding-left: 0; margin-bottom: 0; list-style: none; border-bottom: 1px solid rgba(0,0,0,.1); }
.nav-tabs .nav-item { margin-bottom: -1px; }
.nav-tabs .nav-link {
  display: block; padding: .5rem 1rem;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  border-top-left-radius: .25rem; border-top-right-radius: .25rem;
  color: var(--accent-2, #1a7d99);
  background-color: transparent;
  font-weight: 500; font-size: 14px;
  transition: color .15s ease, background .15s ease, border-color .15s ease;
}
.nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus { border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) transparent; isolation: isolate; color: var(--accent, #26a5cb); }
.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
  color: var(--fg, #0a0a0b);
  background-color: #fff;
  border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) #fff;
}

.tab-content > .tab-pane { display: none; }
.tab-content > .active { display: block; }

.fade { opacity: 0; transition: opacity .15s linear; }
.fade.show { opacity: 1; }

/* ============ COMPONENTS: MODAL ============ */
.modal {
  position: fixed; inset: 0; z-index: 1055;
  display: none; overflow-x: hidden; overflow-y: auto;
  outline: 0;
}
.modal.show { display: flex !important; align-items: center; justify-content: center; }
.modal-backdrop {
  position: fixed; inset: 0; z-index: 1050;
  background-color: rgba(0,0,0,.5);
  opacity: 0; transition: opacity .15s linear;
}
.modal-backdrop.show { opacity: 1; }
.modal-dialog {
  position: relative; width: auto; margin: .5rem;
  pointer-events: none; max-width: 500px; margin-left: auto; margin-right: auto;
  transform: translateY(-30px); transition: transform .25s cubic-bezier(.23,1,.32,1);
}
.modal.show .modal-dialog { transform: translateY(0); }
.modal-dialog-centered { display: flex; align-items: center; min-height: calc(100% - 1rem); }
.modal-lg { max-width: 800px; }
.modal-xl { max-width: 1140px; }
.modal-content {
  position: relative; display: flex; flex-direction: column;
  width: 100%; pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: .5rem; outline: 0;
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
}
.modal-header {
  display: flex; flex-shrink: 0; align-items: center; justify-content: space-between;
  padding: 1rem 1rem;
  border-bottom: 1px solid rgba(0,0,0,.1);
  border-top-left-radius: .5rem; border-top-right-radius: .5rem;
}
.modal-header .modal-title { margin-bottom: 0; line-height: 1.5; }
.btn-close {
  box-sizing: content-box; width: 1em; height: 1em;
  padding: .25em .25em; color: #000; cursor: pointer;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3E%3Cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3E%3C/svg%3E") center/1em auto no-repeat;
  border: 0; border-radius: .375rem;
  opacity: .5; transition: opacity .15s;
}
.btn-close:hover { opacity: .75; }
.modal-body { position: relative; flex: 1 1 auto; padding: 1rem; }
.modal-footer { display: flex; flex-wrap: wrap; flex-shrink: 0; align-items: center; justify-content: flex-end; padding: .75rem; border-top: 1px solid rgba(0,0,0,.1); }
body.modal-open { overflow: hidden; }

/* ============ COMPONENTS: ACCORDION (FAQ) ============ */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion-item {
  background-color: #fff;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: .5rem;
  overflow: hidden;
}
.accordion-header { margin: 0; }
.accordion-button {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 1rem 1.25rem;
  font-size: 1rem; font-weight: 500;
  color: var(--fg, #0a0a0b); text-align: left;
  background-color: transparent;
  border: 0; border-radius: 0;
  cursor: pointer;
  transition: color .15s ease, background-color .15s ease;
}
.accordion-button:hover { background-color: rgba(38,165,203,.05); }
.accordion-button:not(.collapsed) {
  color: var(--accent-2, #1a7d99);
  background-color: rgba(38,165,203,.08);
}
.accordion-button::after {
  content: ''; flex-shrink: 0; width: 1.25em; height: 1.25em;
  margin-left: auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2326a5cb'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 01.708 0L8 10.293l5.646-5.647a.5.5 0 01.708.708l-6 6a.5.5 0 01-.708 0l-6-6a.5.5 0 010-.708z'/%3E%3C/svg%3E") center/1.25em auto no-repeat;
  transition: transform .2s ease-in-out;
}
.accordion-button:not(.collapsed)::after { transform: rotate(-180deg); }
.accordion-collapse { transition: height .35s ease; }
.accordion-collapse:not(.show) { height: 0 !important; overflow: hidden; }
.accordion-body { padding: 1rem 1.25rem; line-height: 1.6; }

/* ============ COMPONENTS: CAROUSEL ============ */
.carousel { position: relative; }
.carousel-inner { position: relative; width: 100%; overflow: hidden; }
.carousel-item {
  position: relative; display: none; float: left; width: 100%;
  margin-right: -100%;
  transition: transform .6s ease-in-out;
}
.carousel-item.active, .carousel-item-next, .carousel-item-prev { display: block; }
.carousel-control-prev, .carousel-control-next {
  position: absolute; top: 0; bottom: 0;
  z-index: 1; display: flex; align-items: center; justify-content: center;
  width: 15%;
  padding: 0; color: #fff;
  text-align: center; background: 0 0; border: 0;
  opacity: .5; cursor: pointer;
  transition: opacity .15s ease;
}
.carousel-control-prev { left: 0; }
.carousel-control-next { right: 0; }
.carousel-control-prev:hover, .carousel-control-next:hover { opacity: .9; }
.carousel-caption {
  position: absolute; right: 15%; bottom: 1.25rem; left: 15%;
  padding-top: 1.25rem; padding-bottom: 1.25rem;
  color: #fff; text-align: center;
}

/* ============ COMPONENTS: MULTI-CAROUSEL ============ */
.multi-carousel { position: relative; }
.multi-carousel-inner {
  display: flex; overflow: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}
.multi-carousel-item {
  flex: 0 0 100%; max-width: 100%;
  padding: 0 8px;
  scroll-snap-align: start;
  transition: transform .35s ease;
}
@media (min-width: 768px) {
  .multi-carousel-inner[data-items="2"] .multi-carousel-item,
  .multi-carousel-inner[data-items-md="2"] .multi-carousel-item { flex: 0 0 50%; max-width: 50%; }
  .multi-carousel-inner[data-items="3"] .multi-carousel-item,
  .multi-carousel-inner[data-items-md="3"] .multi-carousel-item { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .multi-carousel-inner[data-items="4"] .multi-carousel-item { flex: 0 0 25%; max-width: 25%; }
}

/* ============ COMPONENTS: DROPDOWN ============ */
.dropdown { position: relative; }
.dropdown-toggle::after {
  content: ''; display: inline-block;
  margin-left: .255em; vertical-align: .255em;
  border-top: .3em solid; border-right: .3em solid transparent;
  border-bottom: 0; border-left: .3em solid transparent;
}
.dropdown-menu {
  position: absolute; top: 100%; left: 0; z-index: 1000;
  display: none; min-width: 10rem; padding: .5rem 0;
  margin: 0; font-size: 1rem; color: var(--fg);
  text-align: left; list-style: none;
  background-color: #fff; background-clip: padding-box;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: .375rem;
  box-shadow: var(--shadow-md, 0 4px 12px rgba(0,0,0,.08));
}
.dropdown-menu.show, .navbar-dropdown-menu.show { display: block; }
.dropdown-item {
  display: block; width: 100%;
  padding: .5rem 1rem; clear: both;
  font-weight: 400; color: var(--fg);
  text-align: inherit; text-decoration: none; white-space: nowrap;
  background-color: transparent; border: 0; cursor: pointer;
}
.dropdown-item:hover, .dropdown-item:focus {
  color: var(--accent-2, #1a7d99); background-color: rgba(38,165,203,.05);
}
.dropdown-divider { height: 0; margin: .5rem 0; overflow: hidden; border-top: 1px solid rgba(0,0,0,.1); }

/* ============ COMPONENTS: LIGHTBOX (basic) ============ */
.lightbox-backdrop {
  position: fixed; inset: 0; z-index: 1060;
  background: rgba(0,0,0,.85);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.lightbox-backdrop.show { display: flex; }
.lightbox-img { max-width: 100%; max-height: 90vh; box-shadow: 0 0 40px rgba(0,0,0,.5); }
.lightbox-close {
  position: absolute; top: 16px; right: 16px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-size: 24px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.lightbox-close:hover { background: rgba(255,255,255,.2); }

/* ============ FORMS ============ */
.form-control {
  display: block; width: 100%; padding: .375rem .75rem;
  font-size: 1rem; line-height: 1.5; color: var(--fg);
  background-color: #fff; background-clip: padding-box;
  border: 1px solid rgba(0,0,0,.15); border-radius: .375rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-control:focus {
  color: var(--fg); background-color: #fff;
  border-color: var(--accent, #26a5cb);
  outline: 0;
  box-shadow: 0 0 0 .2rem rgba(38,165,203,.25);
}
.form-label { display: inline-block; margin-bottom: .5rem; }
.form-select {
  display: block; width: 100%; padding: .375rem 2.25rem .375rem .75rem;
  font-size: 1rem; line-height: 1.5; color: var(--fg);
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 01.753 1.659l-4.796 5.48a1 1 0 01-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .75rem center; background-size: 16px 12px;
  border: 1px solid rgba(0,0,0,.15); border-radius: .375rem;
}

/* ============ ALERT ============ */
.alert { position: relative; padding: 1rem; margin-bottom: 1rem; border: 1px solid transparent; border-radius: .375rem; }
.alert-success { color: #0f5132; background-color: #d1e7dd; border-color: #badbcc; }
.alert-danger { color: #842029; background-color: #f8d7da; border-color: #f5c2c7; }
.alert-warning { color: #664d03; background-color: #fff3cd; border-color: #ffecb5; }
.alert-info { color: #055160; background-color: #cff4fc; border-color: #b6effb; }
