﻿html {
    text-align: right;
    scroll-behavior: smooth;
}

:root {
    --icon-search: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='M380-320q-109 0-184.5-75.5T120-580q0-109 75.5-184.5T380-840q109 0 184.5 75.5T640-580q0 44-14 83t-38 69l224 224q11 11 11 28t-11 28q-11 11-28 11t-28-11L532-372q-30 24-69 38t-83 14Zm0-80q75 0 127.5-52.5T560-580q0-75-52.5-127.5T380-760q-75 0-127.5 52.5T200-580q0 75 52.5 127.5T380-400Z'/></svg>");
    --icon-phone: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='M798-120q-125 0-247-54.5T329-329Q229-429 174.5-551T120-798q0-18 12-30t30-12h162q14 0 25 9.5t13 22.5l26 140q2 16-1 27t-11 19l-97 98q20 37 47.5 71.5T387-386q31 31 65 57.5t72 48.5l94-94q9-9 23.5-13.5T670-390l138 28q14 4 23 14.5t9 23.5v162q0 18-12 30t-30 12ZM241-600l66-66-17-94h-89q5 41 14 81t26 79Zm358 358q39 17 79.5 27t81.5 13v-88l-94-19-67 67Z'/></svg>");
}

.icon-search {
    --icon: var(--icon-search);
}

.icon-phone {
    --icon: var(--icon-phone);
}

/* =============================================
   Button system  –  3 colours: --white, --theme, --theme-2
   Icon ::after uses  background: currentColor  so it
   always follows the text colour automatically.
   ============================================= */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
    border-radius: 100px;
    padding: 4px 15px 2px 15px !important;
    background: transparent;
    color: var(--white);
    line-height: 30px;
    min-width: 120px;
    text-shadow: unset !important;
    transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}

.button:hover {
    background-color: var(--theme-2);
    border-color: var(--theme-2);
    color: var(--white);
}

/* -- solid variant -- */
.button.solid {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--theme-2);
}

.button.solid:hover {
    background-color: var(--theme-2);
    border-color: var(--theme-2);
    color: var(--white);
}

/* -- icon variant -- */
.button.icon {
    gap: 6px;
    padding-right: 6px !important;
}

.button.icon::after {
    content: "";
    display: inline-block;
    width: 22px;
    height: 22px;
    position: relative;
    margin-right: 6px;
    background: currentColor;
    -webkit-mask-image: var(--icon);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-image: var(--icon);
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    transition: background-color .3s ease;
}

.button.icon::before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 1px;
}

/* -- circle variant -- */
.button.circle {
    width: 35px;
    height: 35px;
    min-height: 35px;
    min-width: 35px;
    padding: 0 !important;
}

.button.circle::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background: currentColor;
    -webkit-mask-image: var(--icon);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-image: var(--icon);
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    transition: background-color .3s ease;
}

.button.circle .text {
    display: none;
}

/* Header menu anchors have very specific rules in main.css.
   Re-apply button colors there so solid/hover behave correctly. */
.header-1.header-2 .header-main .header-right .main-menu ul li a.button {
    display: inline-flex;
    color: var(--white);
}
.header-1.header-2 {
    background-color: var(--white) !important;
    background: none !important;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    transition: none !important;
}
.sticky-header.header-1.header-2 {
    background: unset;
    background-color: var(--white);
}

.header-1.header-2 .header-main .header-right .main-menu ul li a.button.solid {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--theme-2);
}

.header-1.header-2 .header-main .header-right .main-menu ul li a.button:hover {
    background-color: var(--theme-2);
    border-color: var(--theme-2) !important;
    color: var(--white) !important;
}

.sticky-header .header-main .header-right .main-menu ul li a.button {
    border-color: var(--theme-2);
    color: var(--theme-2);
}

.sticky-header .header-main .header-right .main-menu ul li a.button.solid {
    background-color: var(--theme-2);
    border-color: var(--theme-2);
    color: var(--white);
}

.sticky-header .header-main .header-right .main-menu ul li a.button.solid:hover {
    background-color: var(--theme);
    border-color: var(--theme);
    color: var(--white);
}

/* =============================================
   Header phone button – pill button with border
   ============================================= */
.main-header__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1e365a;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid #1e365a;
    border-radius: 100px;
    padding: 7px 20px 5px 20px;
    background: transparent;
    transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
    margin-left: 16px;
    white-space: nowrap;
}

    .main-header__phone i {
        font-size: 16px;
        margin-top: -2px;
        transition: color 0.35s ease;
    }

.main-header__phone .phone-number-text {
    display: inline;
    font-size: 16px;
    font-weight: 600;
    direction: ltr;
}

.main-header__phone:hover {
    background-color: #1e365a;
    border-color: #1e365a;
    color: #fff !important;
}

.main-header__phone:hover i {
    color: #fff;
}

.sticky-header .main-header__phone {
    color: #1e365a;
    border-color: #1e365a;
}

.sticky-header .main-header__phone:hover {
    background-color: #1e365a;
    color: #fff !important;
}

/* Equal gap between phone button and search icon */
.main-header__search {
    margin-left: 16px;
}

/* Mobile: circle icon buttons */
@media (max-width: 767px) {
    .main-header__phone,
    .main-header__search {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        min-width: 40px;
        padding: 0 !important;
        border: 2px solid #1e365a;
        border-radius: 50%;
        background: transparent;
        color: #1e365a !important;
        font-size: 17px;
        transition: background-color 0.35s ease, color 0.35s ease;
        margin-left: 8px;
        gap: 0;
    }

    .main-header__phone .phone-number-text {
        display: none !important;
    }

    .main-header__phone i,
    .main-header__search i {
        margin: 0;
    }

    .main-header__phone:hover,
    .main-header__search:hover {
        background-color: #1e365a;
        color: #fff !important;
    }
}

/* =============================================
   Sticky header  –  white background, dark buttons
   ============================================= */
.sticky-header .button {
    border-color: var(--theme-2);
    color: var(--theme-2);
}

.sticky-header .button:hover {
    background-color: var(--theme-2);
    border-color: var(--theme-2);
    color: var(--white);
}

.sticky-header .button.solid {
    background-color: var(--theme-2);
    border-color: var(--theme-2);
    color: var(--white);
}

.sticky-header .button.solid:hover {
    background-color: var(--theme);
    border-color: var(--theme);
    color: var(--white);
}
/* Main menu top-level link color */
.header-1.header-2 .header-main .header-right .main-menu ul li > a {
    color: #1e365a !important;
}

.header-1.header-2 .header-main .header-right .main-menu ul li > a:hover,
.header-1.header-2 .header-main .header-right .main-menu ul li:hover > a {
    color: var(--theme) !important;
}

/* Vertically center phone and search icons */
.header-right {
    align-items: center !important;
}

.main-header__phone,
.main-header__search {
    display: inline-flex;
    align-items: center;
}

.header-main .main-menu ul li a i:before {
    margin-right: 5px !important;
}
.mobile-menu .mega-cat-title {
    font-weight: normal;
    border-bottom: unset;
    margin: 10px 0;
    padding: 0 !important;
}
.mobile-menu .mega-col .mean-expand {
    margin-top: 6px !important;
}
.mobile-menu .mean-nav ul li .submenu li ul li a {
    width: 95% !important;
}
.sticky-header.header-2 .header-main {
    padding: 10px 0 0 0 !important;
}
.sticky-header.header-2 .header-main .header-right .main-menu ul li a.button.icon-phone {
    color: var(--theme-2);
    border-color: var(--theme-2);
}

.sticky-header.header-2 .header-main .header-right .main-menu ul li a.button.icon-search.solid {
    background-color: var(--theme);
    border-color: var(--theme);
    color: var(--white);
}

.sticky-header.header-2 .header-main .header-right .main-menu ul li a.button.icon-search.solid:hover {
    background-color: var(--theme-2);
    border-color: var(--theme-2);
    color: var(--white);
}

/* ============================================= */

.offcanvas__top {
    direction: rtl;
}

@media (min-width: 1200px) {
    .header-main .main-menu ul li a i {
        position: relative;
        top: -2px;
    }
}

@media (max-width: 1300px) {
    .top_buttons a .text {
        display: none;
    }

    .top_buttons a.button {
        min-width: 45px;
        min-height: 45px;
        width: 45px;
        height: 45px;
    }

    .top_buttons a.button.icon::before {
        width: unset;
    }

    .top_buttons a.button.icon::after {
        margin-right: 4px;
    }
}

@media (min-width: 1200px) and (max-width: 1300px) {
    .top_buttons a.button.icon::after {
        width: 44px;
        height: 44px;
        margin-right: -7px;
        left: -4px;
    }
}

@media (max-width: 1199px) {
    .top_buttons {
        display: flex;
        gap: 10px;
        flex-direction: column;
        margin-top: 20px;
    }

    .top_buttons a.button {
        display: flex !important;
        width: -webkit-fill-available !important;
        min-height: unset !important;
        line-height: 25px !important;
        height: unset !important;
        flex-direction: row-reverse !important;
        color: var(--theme-2);
    }
        .top_buttons a.button.icon-phone{
            border: solid 2px var(--theme-2) !important;
        }
            .top_buttons a.button.icon-search {
                border: solid 2px var(--theme) !important;
            }

        .top_buttons a.button.icon-search:hover {
            border: solid 2px var(--theme-2) !important;
        }

            .top_buttons a.button .text {
                display: inline-block !important;
            }

            .offcanvas__wrapper .offcanvas__content .top_buttons a.button .text {
                color: inherit !important;
            }

            .top_buttons a.button.solid {
                background-color: var(--theme-2);
                border-color: var(--theme-2);
                color: var(--white);
            }

                .top_buttons a.button.solid:hover {
                    background-color: var(--theme);
                    border-color: var(--theme);
                    color: var(--white);
                }

            .top_buttons a.button:hover {
                background-color: var(--theme-2);
                border-color: var(--theme-2);
                color: var(--white);
            }

            .top_buttons a.button.icon-search.solid {
                background-color: var(--theme);
                border-color: var(--theme-2);
                color: var(--white);
            }

                .top_buttons a.button.icon-search.solid:hover {
                    background-color: var(--theme-2);
                    border-color: var(--theme-2);
                    color: var(--white);
                }

            .top_buttons a.button.icon::after {
                top: unset !important;
            }

            .mean-container .mean-nav ul li a:not(.button, .mean-expand) {
                border-bottom: 1px solid rgba(0, 0, 0, 0.2) !important;
            }

            .header-1.header-2 .header-main .header-right {
                gap: 20px;
            }

                .header-1.header-2 .header-main .header-right .header-mobile-actions .button.icon::before {
                    width: 0;
                }

                .header-1.header-2 .header-main .header-right .header-mobile-actions .button.icon::after {
                    margin-right: 0;
                    top: 0;
                }

                .header-1.header-2 .header-main .header-right .header-mobile-actions .button .text {
                    display: none;
                }
        }

.meanmenu-open .header-mobile-actions {
    display: none !important;
}

/* =============================================
   Preloader
   ============================================= */
#preloader {
    display: flex;
    align-items: center;
    justify-content: center;
}

.svg-calLoader {
    width: 230px;
    height: 230px;
    transform-origin: 115px 115px;
    animation: 1.4s linear infinite loader-spin;
}

.cal-loader__plane {
    fill: var(--theme-2) !important;
}

.cal-loader__path {
    stroke: var(--white) !important;
    animation: 1.4s ease-in-out infinite loader-path;
}

@keyframes loader-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes loader-path {
    0% {
        stroke-dasharray: 0, 580, 0, 0, 0, 0, 0, 0, 0;
    }

    50% {
        stroke-dasharray: 0, 450, 10, 30, 10, 30, 10, 30, 10;
    }

    100% {
        stroke-dasharray: 0, 580, 0, 0, 0, 0, 0, 0, 0;
    }
}

/* =============================================
   Hero / scroll-down
   ============================================= */
.section_hero {
    position: relative;
}

.scroll-down {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    z-index: 2;
    text-decoration: none;
}

.scroll-down .mouse_scroll {
    display: block;
    margin: 0 auto;
    width: 18px;
    height: 70px;
}

.scroll-down-text {
    margin-top: 8px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mt-100 {
    margin-top: 100px;
}
.mb-100{
    margin-bottom: 100px;
}
@media (max-width: 767px) {
    .scroll-down-text {
        display: none;
    }
    .footer-widget-wrapper .single-footer-widget .list-area li:not(:last-child) {
        margin-bottom: 12px;
    }

    .button.circle::after {
        width: 30px;
        height: 30px;
    }
    .scroll-down {
        bottom: 50px;
    }
}

.m_scroll_arrows {
    display: block;
    width: 12px;
    height: 12px;
    transform: rotate(45deg);
    border-right: 1px solid var(--white);
    border-bottom: 1px solid var(--white);
    margin: 0 0 2px 3px;
}

.unu {
    margin-top: 1px;
}

.unu,
.doi,
.trei {
    animation: mouse-scroll 1s infinite;
}

.unu {
    animation-delay: 0.1s;
    animation-direction: alternate;
}

.doi {
    animation-delay: 0.2s;
    animation-direction: alternate;
    margin-top: -6px;
}

.trei {
    animation-delay: 0.3s;
    animation-direction: alternate;
    margin-top: -6px;
}

.mouse {
    height: 32px;
    width: 18px;
    border-radius: 10px;
    transform: none;
    border: 2px solid var(--white);
}

.wheel {
    display: block;
    margin: 4px auto;
    background: var(--white);
    position: relative;
    height: 3px;
    width: 3px;
    border: 1px solid var(--white);
    border-radius: 6px;
    animation: mouse-wheel 0.6s linear infinite;
}

@keyframes mouse-wheel {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(6px);
    }
}

@keyframes mouse-scroll {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

/* =============================================
   Misc layout
   ============================================= */
.header-1 .header-left .logo {
    margin-right: 20px;
}

@media (max-width: 750px) {
    .header-1 .header-left .logo {
        margin-right: 0px !important;
    }
    .header-1.header-2 .header-main .header-right {
        gap: 10px !important;
    }
}
.footer-section {
    direction: rtl;
}

.jump_top_show {
    left: 50px !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.jump_top {
    position: fixed;
    bottom: 50px;
    left: -50px;
    background-color: var(--theme);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    pointer-events: none;
    transition: left 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    font-size: 25px;
    font-weight: bold;
    z-index: 999;
    opacity: 0;
}

.jump_top:hover {
    background-color: #fff !important;
    color: #000 !important;
}

.footer-widget-wrapper .single-footer-widget .wid-title h4 {
    border-bottom: none;
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
}

.footer-widget-wrapper .single-footer-widget .wid-title h4::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--white);
}

/* =============================================
   Header – always white, dark text, no fade
   ============================================= */

/* white logo always visible, hide the inverted one */
.header-1.header-2:not(.sticky-header) .header-main .header-left .header-logo {
    display: none !important;
}

.header-1.header-2:not(.sticky-header) .header-main .header-left .header-logo-2 {
    display: block !important;
}

/* dark text on menu links */
.header-1.header-2 .header-main .header-right .main-menu ul li > a {
    color: var(--header) !important;
}

.header-1.header-2 .header-main .header-right .main-menu ul li > a:hover,
.header-1.header-2 .header-main .header-right .main-menu ul li:hover > a {
    color: var(--theme) !important;
}

.header-1.header-2 .header-main .header-right .sidebar__toggle,
.header-1.header-2 .header-main .header-right .search-toggler {
    color: var(--header) !important;
}

/* =============================================
   Header – white background for #header-sticky
   ============================================= */
#header-sticky {
    background-color: var(--white) !important;
    background: var(--white) !important;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px !important;
}

/* =============================================
   Mega submenu – one column per category
   correct classes: mega-submenu / mega-col / mega-cat-title
   ============================================= */

/* submenu container: columns side by side, centered */
.header-main .main-menu ul li .submenu.mega-submenu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 200px !important;
    min-width: unset !important;
    width: 100vw !important;
    padding: 20px !important;
}

/* each category = one vertical column, equal fixed width */
.header-main .main-menu ul li .submenu.mega-submenu > li.mega-col {
    display: block !important;
    float: none !important;
    flex: 0 0 220px !important;
    width: 220px !important;
    padding: 0 20px;
    box-sizing: border-box !important;
}

.header-main .main-menu ul li .submenu.mega-submenu > li.mega-col:last-child {
    border-right: none;
}

/* category title */
.header-main .main-menu ul li .submenu.mega-submenu > li.mega-col > .mega-cat-title {
    display: block !important;
    font-weight: 700;
    color: var(--theme);
    margin-bottom: 8px;
    padding: 0 !important;
    line-height: 1.6;
    white-space: nowrap;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* inner ul: override main.css ".main-menu ul { display:flex }" */
.header-main .main-menu ul li .submenu.mega-submenu > li.mega-col > ul {
    display: block !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

.header-main .main-menu ul li .submenu.mega-submenu > li.mega-col > ul > li {
    display: block !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
}

.header-main .main-menu ul li .submenu.mega-submenu > li.mega-col > ul > li > a {
    display: block !important;
    white-space: nowrap;
    line-height: 32px !important;
    padding: 0 !important;
    text-align: right !important;
    color: #1d375c !important;
}

/* Cancel the margin-left shift from main.css on hover – keep columns stable */
.header-main .main-menu ul li .submenu.mega-submenu > li.mega-col > ul > li:hover > a {
    margin-left: 0 !important;
    padding-right: 10px !important;
}

/* Shift the hover underline animation 50px to the right */
.header-main .main-menu ul li .submenu.mega-submenu > li.mega-col > ul > li > a::before {
    right: -16px !important;
}

/* ============================================= */

.feature-section-2::before {
    background: conic-gradient(from 191deg at -14% 50%, rgba(21, 21, 21, 0.6) 0deg, rgba(21, 21, 21, 0.3) 360deg);
}