.language-switcher {
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.language-list {
    list-style: none;
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.language-item a {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    transition: 0.3s;
}

.language-item a:hover {
    color: #fff;
    text-decoration: none;
}

.language-item.active a {
    color: #3192c1;
}

.page-head__subtitle {
    margin: 45px 0 35px;
    color: #ffffff;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.09;
    text-align: center;
    text-align: center;
}

.page-head__description {
    margin: 20px 0 10px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    text-align: center;
}

.mt-0 {
    margin-top: 0px;
}

.mt-1 {
    margin-top: 4x;
}

.mt-10 {
    margin-top: 40px;
}

.mt-7 {
    margin-top: 28px;
}

.mb-10 {
    margin-bottom: 40px;
}

.mb-20 {
    margin-bottom: 80px;
}

.ml-0 {
    margin-left: 0 !important;
}

.ml-5 {
    margin-left: 20px;
}

.gap-1 {
    gap: 4px;
}

.mt-20 {
    margin-top: 80px;
}

.mb-7 {
    margin-bottom: 28px;
}

.p-7 {
    padding: 28px;
}

.pb-7 {
    padding-bottom: 28px;
}

.icon-5 {
    width: 20px;
    height: 20x;
    font-size: 20px;
}

.z-10 {
    z-index: 10;
}

.max-w-full {
    max-width: 100%;
}
.w-full {
    width: 100%;
}

.custom-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #eeb50b;
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-close:hover {
    color: white;
}

.project-tag {
    background-color: #eeb50b;
    color: white;
    padding: 2px 4px;
    border-radius: 2px;
}

.py-5 {
    padding-top: 20px;
    padding-bottom: 20px;
}

.m-0 {
    margin: 0;
}

.max-w-40 {
    max-width: 160px;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-1 {
    display: flex;
    flex: 1 1 auto;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.h-full {
    height: 100%;
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Text styles */
.gallery-cat {
    font-size: 12px;
    text-transform: uppercase;
    opacity: 0.85;
    letter-spacing: 0.5px;
}

.gallery-title {
    margin: 8px 0 4px;
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.gallery-desc {
    font-size: 13px;
    opacity: 0.9;
    margin: 0;
}

.video-item {
    position: relative;
    display: block;
    overflow: hidden;
}

.video-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.35s ease;
}

.video-item:hover .video-overlay {
    opacity: 1;
}

.video-play-icon {
    color: #fff;
}

.video-title {
    margin-top: 10px;
    font-size: 20px;
    font-weight: 700;
}

.border-l {
    border-left: 1px solid #dddddd;
}

.border-r {
    border-right: 1px solid #dddddd;
}

.max-w-fit {
    max-width: fit-content;
}

.text-center {
    text-align: center;
}

.bg-black {
    background: #000;
}

.contact-form-submit-button:hover {
    background-color: #3192c1;
}

@media (min-width: 1200px) {
    .footer-top-flex-between {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
}

.mb-8 {
    margin-bottom: 32px;
}

.p-4 {
    padding: 16px;
}

.uppercase {
    text-transform: uppercase;
}

.text-2xl {
    font-size: 24px;
}

.leading-8 {
    line-height: 32px;
}

.text-center {
    text-align: center;
}

.font-medium {
    font-weight: 500;
}

.equipment-item {
    a {
        &:hover {
            text-decoration: none;
        }
    }
}

.justify-center {
    justify-content: center;
}

.gallery-filter-item {
    color: white !important;

    &:hover {
        background-color: #000 !important;
    }
}

.contact-input {
    background-color: transparent;

    &:focus {
        background-color: transparent;
    }
}

.bg-customBlack {
    background-color: #555;
}

.custom-button {
    background-color: #fff;
    color: #000;
    border: 1px solid #fff;
    &:hover {
        background-color: #000;
        color: #fff;
    }
}

.custom-table {
    margin: 0px;
    tr {
        td {
            font-size: 14px;
            padding: 4px 12px;
        }
    }
    tr:nth-child(even) {
        td {
            background-color: #555;
        }
    }

    tr:nth-child(odd) {
        td {
            background-color: #000;
        }
    }
}

/* ============================================
   THEME TOGGLE BUTTON
   ============================================ */
.theme-toggle {
    display: flex;
    align-items: center;
}

.theme-toggle__btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    font-size: 18px;
    line-height: 1;
    color: #fff;
    transition: color 0.3s ease;
    position: relative;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle__btn:hover {
    color: #3192c1;
}

.theme-toggle__icon {
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

html[data-theme="dark"] .theme-toggle__icon--light {
    opacity: 1;
    transform: rotate(0deg);
}
html[data-theme="dark"] .theme-toggle__icon--dark {
    opacity: 0;
    transform: rotate(-90deg);
}

html:not([data-theme="dark"]) .theme-toggle__icon--light {
    opacity: 0;
    transform: rotate(90deg);
}
html:not([data-theme="dark"]) .theme-toggle__icon--dark {
    opacity: 1;
    transform: rotate(0deg);
}

html:not([data-theme="dark"]) .theme-toggle__btn {
    color: #2d3436;
}

/* ============================================
   SMOOTH THEME TRANSITION
   ============================================ */
html.theme-transition,
html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after {
    transition: background-color 0.3s ease,
                color 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease !important;
}

/* ============================================
   LIGHT MODE OVERRIDES
   ============================================ */

/* --- Body & Global --- */
html:not([data-theme="dark"]),
html:not([data-theme="dark"]) body {
    background-color: #f5f6fa;
    color: #2d3436;
}

/* --- Headings --- */
html:not([data-theme="dark"]) .uk-h1,
html:not([data-theme="dark"]) .uk-h2,
html:not([data-theme="dark"]) .uk-h3,
html:not([data-theme="dark"]) .uk-h4,
html:not([data-theme="dark"]) .uk-h5,
html:not([data-theme="dark"]) .uk-h6,
html:not([data-theme="dark"]) h1,
html:not([data-theme="dark"]) h2,
html:not([data-theme="dark"]) h3,
html:not([data-theme="dark"]) h4,
html:not([data-theme="dark"]) h5,
html:not([data-theme="dark"]) h6 {
    color: #1a1a2e;
}

/* --- Section Titles --- */
html:not([data-theme="dark"]) .section-title .uk-text-meta {
    color: #636e72;
}

html:not([data-theme="dark"]) .section-title .uk-h2 {
    color: #1a1a2e;
}

/* --- Preloader --- */
html:not([data-theme="dark"]) #page-preloader {
    background: #f5f6fa;
}

/* --- Header Top --- */
html:not([data-theme="dark"]) .page-header-top {
    background-color: #ffffff;
    color: #2d3436;
}

html:not([data-theme="dark"]) .page-header-top__right > * + * {
    border-left-color: #e0e0e0;
}

html:not([data-theme="dark"]) .time-work {
    color: #2d3436;
}

html:not([data-theme="dark"]) .language-item a {
    color: #2d3436;
}

html:not([data-theme="dark"]) .language-item a:hover {
    color: #2d3436;
}

html:not([data-theme="dark"]) .language-item.active a {
    color: #3192c1;
}

html:not([data-theme="dark"]) .update a {
    color: #2d3436;
}

html:not([data-theme="dark"]) .login-link a {
    color: #2d3436;
}

/* --- Header Top Social Links --- */
html:not([data-theme="dark"]) .page-header-top .social-list__link {
    color: #2d3436;
}

html:not([data-theme="dark"]) .page-header-top .social-list__link:hover,
html:not([data-theme="dark"]) .page-header-top .social-list__link:focus {
    color: #3192c1;
}

/* --- Header Bottom --- */
html:not([data-theme="dark"]) .page-header-bottom {
    background-color: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    color: #2d3436;
}

html:not([data-theme="dark"]) .page-header-bottom.uk-active {
    box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.08);
    background-color: #ffffff;
}

html:not([data-theme="dark"]) .page-header-bottom__right .uk-navbar-nav > li > a {
    color: #2d3436;
}

html:not([data-theme="dark"]) .page-header-bottom__right .uk-navbar-nav > li > a:hover {
    color: #3192c1;
}

html:not([data-theme="dark"]) .page-header-bottom__right .uk-navbar-nav > li.uk-active > a {
    color: #3192c1;
}

html:not([data-theme="dark"]) .page-header-bottom__right .uk-navbar-nav > li > a svg,
html:not([data-theme="dark"]) .page-header-bottom__right .uk-navbar-nav > li > a i {
    color: #2d3436;
}

html:not([data-theme="dark"]) .page-header-bottom__right .uk-navbar-toggle svg {
    color: #2d3436;
}

html:not([data-theme="dark"]) .page-header-bottom__right .cart-btn__icon svg {
    color: #2d3436;
}

html:not([data-theme="dark"]) .page-header-bottom__left .support {
    border-right-color: #e0e0e0;
    border-left-color: #e0e0e0;
}

/* --- Buttons --- */
html:not([data-theme="dark"]) .uk-button-default {
    color: #2d3436;
    border-color: #d0d0d0;
}

html:not([data-theme="dark"]) .uk-button-default:hover,
html:not([data-theme="dark"]) .uk-button-default:focus,
html:not([data-theme="dark"]) .uk-button-default:active {
    background-color: #f0f0f0;
    border-color: #2d3436;
    color: #2d3436;
}

html:not([data-theme="dark"]) .uk-button-default:hover svg,
html:not([data-theme="dark"]) .uk-button-default:hover i,
html:not([data-theme="dark"]) .uk-button-default:focus svg,
html:not([data-theme="dark"]) .uk-button-default:active svg {
    color: #2d3436;
}

html:not([data-theme="dark"]) .uk-button-secondary {
    background-color: #e8e8e8;
    color: #2d3436;
}

/* --- Forms & Inputs --- */
html:not([data-theme="dark"]) .uk-input,
html:not([data-theme="dark"]) .uk-select,
html:not([data-theme="dark"]) .uk-textarea {
    color: #2d3436;
    border-color: #d0d0d0;
}

html:not([data-theme="dark"]) .uk-input:focus,
html:not([data-theme="dark"]) .uk-select:focus,
html:not([data-theme="dark"]) .uk-textarea:focus {
    background-color: #fff;
    color: #2d3436;
}

html:not([data-theme="dark"]) .uk-input::-webkit-input-placeholder {
    color: #999;
}
html:not([data-theme="dark"]) .uk-input::-moz-placeholder {
    color: #999;
}
html:not([data-theme="dark"]) .uk-input::placeholder,
html:not([data-theme="dark"]) .uk-textarea::placeholder,
html:not([data-theme="dark"]) .uk-select::placeholder {
    color: #999;
}

html:not([data-theme="dark"]) .contact-input {
    border-color: #d0d0d0;
}

/* --- Section About --- */
html:not([data-theme="dark"]) .section-about {
    background-color: #ffffff;
}

html:not([data-theme="dark"]) .section-about .section-title .uk-h2 {
    color: #1a1a2e;
}

html:not([data-theme="dark"]) .about-list li span {
    border-left-color: #d0d0d0;
}

/* --- Category/Service Cards --- */
html:not([data-theme="dark"]) .category-card__box {
    background-color: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

html:not([data-theme="dark"]) .category-card__box:hover,
html:not([data-theme="dark"]) .category-card__box:focus,
html:not([data-theme="dark"]) .category-card__box:active {
    background-color: #f5f6fa;
}

html:not([data-theme="dark"]) .category-card__round {
    background-color: #e0e0e0;
}

html:not([data-theme="dark"]) .category-card__title {
    color: #1a1a2e;
}

html:not([data-theme="dark"]) .category-card__intro {
    color: #636e72;
}

html:not([data-theme="dark"]) .category-card__box:hover .category-card__title,
html:not([data-theme="dark"]) .category-card__box:hover .category-card__intro {
    color: #1a1a2e;
}

html:not([data-theme="dark"]) .category-card__box:hover .uk-button-default {
    border-color: #2d3436;
    color: #2d3436;
}

/* --- Steps Items --- */
html:not([data-theme="dark"]) .steps-list li:first-child .steps-item::after {
    background-color: #d0d0d0;
}

html:not([data-theme="dark"]) .steps-item__title span {
    color: #1a1a2e;
}

/* --- Review Items --- */
html:not([data-theme="dark"]) .review-item__box {
    background-color: #ffffff;
    border-color: #e0e0e0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

html:not([data-theme="dark"]) .review-item__box::before {
    background-color: #ffffff;
}

html:not([data-theme="dark"]) .review-item__title {
    color: #1a1a2e;
}

html:not([data-theme="dark"]) .review-item__text {
    color: #2d3436;
}

html:not([data-theme="dark"]) .review-item__name {
    color: #1a1a2e;
}

/* --- Block Form (Contact) --- */
html:not([data-theme="dark"]) .block-form {
    background-color: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

html:not([data-theme="dark"]) .block-form .section-title .uk-h2 {
    color: #1a1a2e;
}

html:not([data-theme="dark"]) .block-form .section-content p {
    color: #636e72;
}

/* --- Blog Items --- */
html:not([data-theme="dark"]) .blog-item {
    background-color: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

html:not([data-theme="dark"]) .blog-item:hover,
html:not([data-theme="dark"]) .blog-item:focus,
html:not([data-theme="dark"]) .blog-item:active {
    background-color: #f5f6fa;
}

html:not([data-theme="dark"]) .blog-item.blog-item--slider {
    background-color: #ffffff;
}

html:not([data-theme="dark"]) .blog-item.blog-item--slider:hover,
html:not([data-theme="dark"]) .blog-item.blog-item--slider:focus,
html:not([data-theme="dark"]) .blog-item.blog-item--slider:active {
    background-color: #f5f6fa;
}

html:not([data-theme="dark"]) .blog-item__category {
    background-color: #1a1a2e;
    color: white;
}

html:not([data-theme="dark"]) .blog-item__date {
    color: #636e72;
}

html:not([data-theme="dark"]) .blog-item__title {
    color: #1a1a2e;
}

/* --- Equipment Order Form --- */
html:not([data-theme="dark"]) .equipment-order__form {
    background-color: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

html:not([data-theme="dark"]) .equipment-order-total {
    background-color: #f5f6fa;
}

/* --- Contacts List (non-footer) --- */
html:not([data-theme="dark"]) .page-content .contacts-list-item + .contacts-list-item {
    border-top-color: #e0e0e0;
}

html:not([data-theme="dark"]) .page-content .contacts-list-item__icon {
    color: #2d3436;
}

html:not([data-theme="dark"]) .page-content .contacts-list-item__desc {
    color: #2d3436;
}

html:not([data-theme="dark"]) .page-content .contacts-list-item__content a {
    color: #2d3436;
}

html:not([data-theme="dark"]) .page-content .contacts-list-item__label {
    color: #636e72;
}

/* --- Subscription Block --- */
html:not([data-theme="dark"]) .subscription-block__title h4 {
    color: #1a1a2e;
}

/* --- Social List (general) --- */
html:not([data-theme="dark"]) .social-list__link {
    color: #2d3436;
}

html:not([data-theme="dark"]) .social-list__link:hover,
html:not([data-theme="dark"]) .social-list__link:focus,
html:not([data-theme="dark"]) .social-list__link:active {
    color: #3192c1;
}

/* --- Footer (stays dark) --- */
html:not([data-theme="dark"]) .page-footer .social-list__link {
    color: #fff;
}

html:not([data-theme="dark"]) .page-footer .social-list__link:hover,
html:not([data-theme="dark"]) .page-footer .social-list__link:focus {
    color: #ffffff;
}

/* --- Section CTA --- */
html:not([data-theme="dark"]) .section-cta .uk-button:hover,
html:not([data-theme="dark"]) .section-cta .uk-button:focus,
html:not([data-theme="dark"]) .section-cta .uk-button:active {
    background-color: #e8e8e8;
    color: #2d3436;
}

/* --- Offcanvas Menu --- */
html:not([data-theme="dark"]) .uk-offcanvas-bar {
    background-color: #ffffff;
    color: #2d3436;
}

html:not([data-theme="dark"]) .uk-offcanvas-bar .uk-nav-default > li > a {
    color: #2d3436;
}

html:not([data-theme="dark"]) .uk-offcanvas-bar .uk-nav-default > li.uk-active > a {
    color: #3192c1;
}

html:not([data-theme="dark"]) .uk-offcanvas-bar .support__label,
html:not([data-theme="dark"]) .uk-offcanvas-bar .support__phone {
    color: #2d3436;
}

html:not([data-theme="dark"]) .uk-offcanvas-bar .support__icon {
    color: #3192c1;
}

html:not([data-theme="dark"]) .uk-offcanvas-bar .social-list__link {
    color: #2d3436;
}

html:not([data-theme="dark"]) .uk-offcanvas-bar .social-list__link:hover {
    color: #3192c1;
}

/* --- Gallery Filter Items --- */
html:not([data-theme="dark"]) .gallery-filter-item {
    color: #2d3436 !important;
}

html:not([data-theme="dark"]) .gallery-filter-item:hover {
    background-color: #e8e8e8 !important;
}

/* --- Custom Button (on dark bg sections) --- */
html:not([data-theme="dark"]) .custom-button {
    background-color: #2d3436;
    color: #fff;
    border-color: #2d3436;
}

html:not([data-theme="dark"]) .custom-button:hover {
    background-color: #fff;
    color: #2d3436;
}

/* --- Custom Table --- */
html:not([data-theme="dark"]) .custom-table tr:nth-child(even) td {
    background-color: #f0f0f0;
}

html:not([data-theme="dark"]) .custom-table tr:nth-child(odd) td {
    background-color: #ffffff;
}

html:not([data-theme="dark"]) .custom-table tr td {
    color: #2d3436;
}

/* --- bg-customBlack --- */
html:not([data-theme="dark"]) .bg-customBlack {
    background-color: #e8e8e8;
}

/* --- Border utilities --- */
html:not([data-theme="dark"]) .border-l {
    border-left-color: #d0d0d0;
}

html:not([data-theme="dark"]) .border-r {
    border-right-color: #d0d0d0;
}

/* --- Video title (on page, not overlay) --- */
html:not([data-theme="dark"]) .video-title {
    color: #1a1a2e;
}

/* --- Widjet Search --- */
html:not([data-theme="dark"]) .widjet-search .uk-search-input {
    background-color: #f5f6fa;
    color: #2d3436;
}

html:not([data-theme="dark"]) .widjet-search .uk-search-input:focus {
    background-color: #ffffff;
}

/* --- UK Progress Bar --- */
html:not([data-theme="dark"]) .uk-progress::-webkit-progress-bar {
    background-color: #e0e0e0;
}

/* --- General link colors in content --- */
html:not([data-theme="dark"]) .page-content a:not(.uk-button):not(.social-list__link) {
    color: #3192c1;
}

/* --- UK List Disc (footer stays dark, content area override) --- */
html:not([data-theme="dark"]) .page-content .uk-nav a {
    color: #2d3436;
}

html:not([data-theme="dark"]) .page-content .uk-nav a:hover {
    color: #3192c1;
}
