.admin-bar #main-theme,
.admin-bar #main-theme header.balkon-header {
    top: 32px;
}
.admin-bar #main-theme .share-wrapper,
.admin-bar #main-theme .fixed-search {
    top: 102px;
}
@media screen and (max-width: 782px) {
    .admin-bar #main-theme,
    .admin-bar #main-theme header.balkon-header {
        top: 46px;
    }
    .admin-bar #main-theme .share-wrapper,
    .admin-bar #main-theme .fixed-search {
        top: 116px;
    }
}
@media screen and (max-width: 600px) {
    .admin-bar #main-theme {
        top: 0px;
    }
    .admin-bar #main-theme header.balkon-header {
        position: relative;
    }
}
.no-des {
    display: none;
}
.no-dis {
    display: none;
}

.gallery-lmore-holder,
.folio-grid-lmore-holder {
    float: left;
    width: 100%;
    position: relative;
    display: block;
    margin-top: 50px;
    margin-bottom: 20px;
    text-align: center;
    visibility: hidden;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
}
.gallery-lmore-holder i,
.folio-grid-lmore-holder i {
    width: 40px;
    height: 40px;
    line-height: 36px;
    border-radius: 100%;
    margin: 0 auto;
    border: 2px solid #eee;
    background: #f9f9f9;
    font-size: 18px;
}
.gallery-lmore-holder span,
.folio-grid-lmore-holder span {
    float: left;
    width: 100%;
    font-style: italic;
    margin-top: 15px;
}

/* Make header backgrounds with the .full class span the full width
     and ensure correct cover positioning. This overrides
     section.header-section .bg (defined in style_1.css) because
     custom.css is loaded after it. */
section.header-section .bg.full,
.header-section .bg.full {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background-size: cover !important;
    background-position: center center !important;
}

/* If you also need the overlay to cover full width when used with .full */
section.header-section .overlay,
.header-section .overlay {
    left: 0;
    right: 0;
    width: 100%;
}

/* Core values row layout */
.core-values-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 80px;
}

.core-values-row > .vc_column_container {
    flex: 1 1 220px;
    max-width: 360px;
}

@media (min-width: 1652px) {
    .core-values-row {
        flex-wrap: nowrap;
        justify-content: center;
    }

    .core-values-row > .vc_column_container {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* ==================================================
   Theme toggle styles
   ================================================== */
.theme-toggle-wrap {
    float: right;
    height: 70px;
    padding: 0 18px;
    border-left: 1px solid #e6eaea;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    gap: 10px;
}

.theme-toggle-wrap--floating {
    position: fixed;
    top: 16px;
    right: 16px;
    height: auto;
    border-left: none;
    padding: 0;
    z-index: 9999;
}

.theme-toggle-wrap--mobile-only {
    display: none;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 6px 16px;
    border: 1px solid #d7dce3;
    background: #ffffff;
    color: #111827;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: color 200ms linear, background 200ms linear, border-color 200ms linear, box-shadow 200ms linear;
    position: relative;
}

.theme-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(31, 111, 235, 0.25);
}

.theme-toggle__icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f172a 0%, #fcd34d 100%);
    position: relative;
    flex-shrink: 0;
}

.theme-toggle__icon:after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.55);
}

.theme-toggle__label {
    font-family: "Montserrat", sans-serif;
}

.theme-toggle__sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    white-space: nowrap;
}

.theme-toggle[data-theme="dark"] {
    background: #060b14;
    color: #f8fafc;
    border-color: #1b2435;
}

.theme-toggle[data-theme="dark"] .theme-toggle__icon {
    background: linear-gradient(135deg, #38bdf8 0%, #fde68a 100%);
}

@media (max-width: 768px) {
    .theme-toggle-wrap {
        padding: 0 12px;
    }

    .theme-toggle {
        font-size: 0.65rem;
        padding: 6px 12px;
    }
}

@media (max-width: 1064px) {
    .theme-toggle-wrap--desktop {
        display: none;
    }

    .theme-toggle-wrap--mobile-only {
        display: flex;
    }

    .nav-holder .theme-toggle-wrap {
        float: none;
        width: 100%;
        padding: 20px 0 0;
        margin-top: 15px;
        border: none;
        display: flex;
        justify-content: center;
    }

    .theme-toggle-wrap--mobile {
        padding: 0 0 20px;
    }

    .theme-toggle-wrap--mobile .theme-toggle {
        width: 100%;
        justify-content: center;
    }

    .nav-holder {
        height: fit-content;
        overflow-y: auto;
    }
}

@media (min-width: 1065px) {
    .theme-toggle-wrap--mobile-only {
        display: none !important;
    }
}

/* ==================================================
   Dark mode overrides
   ================================================== */
body.dark-mode {
    background-color: #05060a;
    color: #f3f4f6;
}

body.dark-mode #main-theme,
body.dark-mode .content-holder,
body.dark-mode .balkon_sec {
    background-color: transparent;
    color: inherit;
}

body.dark-mode .white-color-bg,
body.dark-mode section.white-color-bg,
body.dark-mode .gray-bg,
body.dark-mode .balkon_page_sec,
body.dark-mode .balkon_page_head_sec {
    background-color: #060a13;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode .head-sec-title,
body.dark-mode .head-sec-subtitle,
body.dark-mode .section-title h1,
body.dark-mode .section-title h2,
body.dark-mode .section-title h3,
body.dark-mode .bold-title,
body.dark-mode .small-sec-title h3 {
    color: #f8fafc;
}

body.dark-mode p,
body.dark-mode li,
body.dark-mode .wpb_text_column,
body.dark-mode .grid-item,
body.dark-mode .contact-details li,
body.dark-mode .list-nstyle li {
    color: #d0d6e4;
}

body.dark-mode a {
    color: #8ec5ff;
}

body.dark-mode a:hover,
body.dark-mode a:focus {
    color: #fbbf24;
}

body.dark-mode .no-rep,
body.dark-mode .head-sec-subtitle span,
body.dark-mode .section-title span {
    color: #9fb3d8;
}

body.dark-mode header.main-header {
    background: rgba(5, 6, 10, 0.98);
    border-bottom: 1px solid #1d2533;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.45);
}

body.dark-mode .nav-holder nav li a {
    color: #cfd8f6;
}

body.dark-mode .nav-holder nav li a:hover,
body.dark-mode .nav-holder nav li a.act-link,
body.dark-mode nav.asl li a.act-scrlink {
    color: #7dd3fc;
}

body.dark-mode .nav-holder {
    background: rgba(5, 7, 12, 0.98);
}

body.dark-mode nav li a.parent-act-link:before,
body.dark-mode nav li a.act-link:before,
body.dark-mode nav.asl li a.act-scrlink:before {
    background: #7dd3fc;
}

body.dark-mode .nav-holder nav li ul {
    background: rgba(6, 10, 19, 0.95);
}

body.dark-mode .show-search,
body.dark-mode .show-share-wrap,
body.dark-mode .nav-button-wrap,
body.dark-mode .sb-menu-button-wrap,
body.dark-mode .theme-toggle-wrap {
    border-color: #1b2433;
}

body.dark-mode .show-share-wrap div span,
body.dark-mode .show-share-wrap div i {
    color: #dee5f4;
}

body.dark-mode .show-share-wrap div span:before {
    background: #f8fafc;
}

body.dark-mode .show-search:before,
body.dark-mode .nav-button span,
body.dark-mode .sb-menu-button span {
    background: #f8fafc;
}

body.dark-mode .theme-toggle {
    background: #060b14;
    border-color: #1b2433;
    color: #f8fafc;
}

@media (max-width: 1064px) {
    .nav-holder.nav-holder--open {
        display: block !important;
    }

    .nav-button-wrap--open .nav-button span {
        width: 100% !important;
    }

    .nav-button-wrap--open .nav-button span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .nav-button-wrap--open .nav-button span:nth-child(2) {
        opacity: 0;
    }

    .nav-button-wrap--open .nav-button span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
}

body.dark-mode .theme-toggle__icon:after {
    background: rgba(255, 255, 255, 0.35);
}

body.dark-mode .share-wrapper,
body.dark-mode .fixed-search,
body.dark-mode .search-form,
body.dark-mode .search-field {
    background: #060a13;
    color: #f8fafc;
}

body.dark-mode .search-field::placeholder {
    color: rgba(248, 250, 252, 0.6);
}

body.dark-mode input[type="text"],
body.dark-mode input[type="email"],
body.dark-mode input[type="url"],
body.dark-mode input[type="tel"],
body.dark-mode input[type="number"],
body.dark-mode input[type="password"],
body.dark-mode input[type="date"],
body.dark-mode textarea,
body.dark-mode .wpcf7-form-control {
    background: #0f141f;
    border: 1px solid #1b2535;
    color: #f8fafc;
}

body.dark-mode textarea::placeholder,
body.dark-mode input::placeholder {
    color: rgba(248, 250, 252, 0.6);
}

body.dark-mode .btn,
body.dark-mode .flat-btn,
body.dark-mode .wpcf7-submit {
    background: #2563eb;
    border-color: #2563eb;
    color: #f8fafc;
}

body.dark-mode .btn:hover,
body.dark-mode .flat-btn:hover,
body.dark-mode .wpcf7-submit:hover {
    background: #f59e0b;
    border-color: #f59e0b;
    color: #0b0f19;
}

body.dark-mode .separator.trsp-separator {
    background: #38bdf8;
}

body.dark-mode .bold-separator {
    background: #f8fafc;
}

body.dark-mode .box-item a.popup-image,
body.dark-mode .gallery-item a.popup-image {
    background: #111827;
    color: #f8fafc;
    border: 1px solid #1f2937;
}

body.dark-mode .grid-item h3 a {
    color: #f8fafc;
}

body.dark-mode .grid-item h3 a:hover {
    color: #fbbf24;
}

body.dark-mode .grid-item {
    background: #090d16;
    border-color: #1b2535;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.01), 0 10px 25px rgba(0, 0, 0, 0.45);
}

body.dark-mode .grid-item h3:before,
body.dark-mode .grid-item h3:after {
    color: #f8fafc;
}

body.dark-mode .grid-item span,
body.dark-mode .grid-item span a {
    color: #9fb3d8;
}

body.dark-mode .sect-scroll-link {
    color: #f8fafc;
}

body.dark-mode .sect-scroll-link:before {
    background: rgba(4, 7, 14, 0.85);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.45);
}

body.dark-mode .sect-scroll-link:after {
    background: #38bdf8;
}

body.dark-mode section.header-section:before {
    background: rgba(5, 7, 12, 0.95);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.55);
}

body.dark-mode .content-nav {
    background: rgba(5, 7, 12, 0.9);
    border-color: #1c2535;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.55);
}

body.dark-mode .content-nav li {
    border-color: #1c2535;
}

body.dark-mode .content-nav li span,
body.dark-mode .content-nav li a {
    color: #f6faff;
}

body.dark-mode .content-nav li span.current {
    color: #9ed1ff;
}

body.dark-mode .content-nav li a.ln,
body.dark-mode .content-nav li a.rn {
    color: #f8fafc;
}

body.dark-mode .content-nav .list a span {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

body.dark-mode .content-nav .list span i {
    background: white;
}

body.dark-mode .content-footer,
body.dark-mode .content-footer:before,
body.dark-mode .footer-inner,
body.dark-mode .footer-widget,
body.dark-mode .footer-widget .list-nstyle li,
body.dark-mode .policy-box p,
body.dark-mode footer.main-footer,
body.dark-mode .footer-social ul li a {
    background: #05060a;
    color: #e3e8f5;
}

body.dark-mode .footer-widget a,
body.dark-mode .footer-widget .no-rep {
    color: #9cc2ff;
}

body.dark-mode .footer-widget a:hover {
    color: #fbbf24;
}

body.dark-mode .fixed-title {
    color: #ffffff;
    border-left-color: #2d3748;
}

body.dark-mode .fixed-title h1,
body.dark-mode .main-footer .fixed-title h1 {
    color: #ffffff;
}

body.dark-mode .footer-social ul li a:hover {
    color: #fbbf24;
}

body.dark-mode .to-top {
    background: #111827;
    color: #f8fafc;
}

body.dark-mode .wpcf7-response-output {
    background: #111827;
    color: #f8fafc;
    border-color: #1f2937;
}
