/*==================================================================
    FONTS
  ==================================================================*/
@font-face {
    font-family: 'NotoSansHebrew';
    src: url('../fonts/NotoSansHebrew-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'NotoSansHebrewMedium';
    src: url('../fonts/NotoSansHebrew-Medium.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'NotoSansHebrewBold';
    src: url('../fonts/NotoSansHebrew-SemiBold.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter_28pt-Regular.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'InterBold';
    src: url('../fonts/Inter_24pt-SemiBold.ttf');
    font-weight: normal;
    font-style: normal;
}

@media (min-width: 1300px) {
    .container {
        max-width: 1160px;
        margin: 0 auto;
    }
}

@media (min-width: 1500px) {
    .container {
        max-width: 1340px;
        margin: 0 auto;
    }
}

@media (min-width: 1920px) {
    .container {
        max-width: 1440px;
        /* נניח לדוגמה */
        margin: 0 auto;
    }
}




html {
    font-family: 'NotoSansHebrew';
}

body {
    font-family: 'NotoSansHebrew', 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    direction: rtl;
    color: var(--dark-blue);
}

div {
    color: #001925;
}

p {
    color: #001925;
}

a {
    color: #0081E8;
    font-size: 18px;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

img {
    border-radius: 6px;
    max-width: 100%;
}

.min-img {
    max-width: 314px;
    max-height: 314px;
    border-radius: 6px;
}

.max-img {
    max-width: 588px;
    max-height: 626px;
    border-radius: 6px;
}

.title {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 1px;
}

.sub_title {
    font-size: 50px;
    font-weight: 600;
    line-height: 1;
}

.text {
    font-size: 24px;
    line-height: 1.4;
}

.body {
    font-size: 18px;
    line-height: 1.5;
    max-width: 580px;
}
.body p{
    font-size: 18px;
    line-height: 1.5;
}

@media(max-width:768px) {
    main#main {
        margin-top: 100px; //the height of the header
    }

    a {
        font-size: 14px;
    }
    .min-img {
        max-width: 140px;
        max-height: 140px;
    }

    .max-img {
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
    }

    .title {
        font-size: 18px;
        line-height: 1;
    }

    .sub_title {
        font-size: 30px;
        line-height: 1.4;
    }

    .text {
        font-size: 20px;
    }

    .body {
        font-size: 16px;
        max-width: 95%;
    }
}

/*==================================================================
    HEADER
  ==================================================================*/
#header {
    position: fixed;
    z-index: 9999;
    top: 0;
    width: 100%;
    background-color: #061824 !important;
    height: 100px;
}

#header nav.navbar{
        height: 100%;
        background: transparent;
}

.navbar .container {
    position: sticky;
    z-index: 1000;
    top: 0;
    background-color: #061824 !important;
    max-width: 1900px;
    margin: auto;
}

.navbar-collapse {
    justify-content: space-between;
    padding: 0 20px;
}

.nav-link {
    position: relative;
    font-size: 17px;
    color: #ffffff !important;
}


.navbar-expand-lg .navbar-nav {
    gap: 15px;
}

.navLogoLink {
    width: 225px;
}

.navLogoImg{
    max-width: 180px;
}

.li_languages {
    margin-left: 100px;
}

.dropdown-toggle::after {
    display: none;
}

.navbar-expand-lg .navbar-nav .dropdown-menu {
    position: absolute;
    width: 130px;
    min-height: 130px;
    margin-top: 29px;
}

a.dropdown-item {
    font-size: 17px;
    position: relative;
    text-align: center;
    padding: 15px;
}

a.dropdown-item:hover {
    color: #0081e8;
    background-color: transparent;
}

.dropdown-item {

    --bs-dropdown-link-active-bg: none
}

.lang-arrow {
    transition: transform 0.3s ease;
}

.lang-switch.show .lang-arrow {
    transform: rotate(180deg);
}

.dropdown-toggle {
    color: #ffffff !important;
}

.navbar-center {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.nav-link.active {
    color: #B5E7FF !important;
}



@media(max-width: 1415px) {
    .navbar-collapse {
        padding: 0 0px;
    }

    .navbar-nav .nav-link {
        font-size: 14px;
    }

    .navbar-expand-lg .navbar-nav {
        gap: 5px;
    }
}

.navbar-expand-lg .navbar-nav .dropdown-menu {
    position: absolute;
    width: 130px;
    min-height: 130px;
    margin-top: 29px;
}

a.dropdown-item {
    font-size: 17px;
    position: relative;
    text-align: center;
    padding: 15px;
}

a.dropdown-item:hover {
    color: #0081e8;
    background-color: transparent;
}

.dropdown-item {

    --bs-dropdown-link-active-bg: none
}

.segment-box {
    display: flex;
    padding-bottom: 100px;
    scroll-margin-top: 150px;
    /* מרווח מהחלק העליון בעת גלילה */
}

@media(max-width: 768px) {
    #header {
        top: 0;
        width: 100%;
        min-height: 72px;
        z-index: 9999;
        display: flex;
        position: fixed;
    }

    #popupMenu {
        top: 0;
        width: 100%;
        min-height: 72px;
        background-color: #061824;
    }

    img .menuBtn {
        border-radius: 0;
    }

    .menuBtn {
        width: 24px;
        margin: 20px;
    }

    html[lang="en"] .menuBtn {
        margin-right: 0;
        margin-left: 30px;
    }

    .navLogoLink {
        margin: auto;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 20px;
        text-align: center;
    }



    .popup-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        display: none;
        flex-direction: column;
        align-items: center;
    }


    .popup-menu.show {
        display: flex;

    }


    .btnContModal {
        width: 48px;
        height: 48px;
        bottom: 3%;
        left: 6%;
    }

    .close_nav {
        min-height: 67px;
        position: relative;
        z-index: 9999;

    }

    .close-button {
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 10000;
        background: none;
        border: none;
        cursor: pointer;
    }

    html[lang^="en"] .close_nav {
        width: 100%;
        display: flex;
        justify-content: flex-end;
        padding: 0 20px;
        box-sizing: border-box;
    }

    html[lang^="en"] .close-button {
        position: static;
        margin-top: 20px;
        color: #fff;
        font-size: 40px;
        line-height: 1;
    }

    .popup-nav {
        width: 100%;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        overflow: scroll;
        height: 100%;
        background-image: url('../images/popup-nav-bg.svg');
        background-position: left center;
        background-repeat: no-repeat;
    }

    .popup-nav ul {
        list-style: none;
        padding: 20px;
        margin: 40px 0;
    }

    .popup-nav ul li {
        margin: 27px 0;
        text-align: right;
    }

    .popup-nav ul li a {
        font-size: 24px;
        line-height: 2.5;
        color: #FFFFFF;
        font-weight: 500;
    }

    .li_languages a {
        color: #3981E0 !important;
        font-weight: 600 !important;

    }

    .li_languages {
        padding-top: 93px;
    }

    .bottom_nav {
        border-top: 1px solid #4C6B80;
        display: flex;
        justify-content: center;
    }

    .logo_bottom {
        width: 160px;
        margin-top: 14px;
        margin-bottom: 24px;
    }

    .white-background {
        background-color: white
    }

    .bluo-background {
        background-color: #002C49;
    }

    .submenu {
        display: none;
        list-style: none;
        padding-left: 20px;
    }

    .submenu.active {
        display: block;
        background-color: white;
        padding: 15px;
    }

    .submenu.active .submenu-link {
        color: #0081e1;
    }

    html[lang^="en"] .popup-nav ul {
        padding: 20px 24px;
        margin: 24px 0;
    }

    html[lang^="en"] .popup-nav ul li {
        text-align: left;
        margin: 18px 0;
    }

    html[lang^="en"] .popup-nav ul li a {
        display: block;
        width: 100%;
        font-size: 24px;
        line-height: 1.45;
    }

    html[lang^="en"] .li_languages {
        padding-top: 36px;
    }

}

/* ==========================================
    HOMEBANNER
  ========================================== */
video#video-player {
    width: 100%;
}

#banner_img {
    width: 100vw;
}

.home-banner {
    margin-top: 100px;
}

.home-banner-img {
    position: relative;
    background-image: url('../images/home/home-banner.svg');
    min-height: 850px;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
}

.home-banner-box {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 14px 40px;
    width: 526px;
    height: 351px;
    position: absolute;
    transform: translate(-10%, -120%);
    border-radius: 6px;
    background: #ffffffff;
    background-image: url('../images/home-banner-box-bg.svg');
    background-repeat: no-repeat;
    z-index: 1000;
}

.banner_min_title {
    font-size: 16px;
    line-height: 1.5;
}

.banner-title {
    font-size: 50px;
    font-weight: 500;
    line-height: 1;
    max-width: 450px;
}

.banner_sub_title {
    font-size: 24px;
    line-height: 1.4;
    max-width: 435px;
}

.banner-button {
    background: #0081E8;
    border-radius: 60px;
    font-size: 16px;
    padding: 18px 24px;
    height: 50px;
    border: none;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;

    a {
        color: #ffffff;
        text-decoration: none;
    }


}

.banner-button:hover {
    background-color: #ffffff;

    a {
        color: #0081E8;
    }
}

@media (max-width:768px) {
    .home-banner {
        margin-top: 0;
    }

    .home-banner-img {
        height: auto;
        overflow: hidden;
        min-height: inherit;
    }

    .home-banner-img video#video-player {
        display: block;
        position: relative;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

    .home-banner-img-page img {
        min-height: 258px;
        border-radius: 0;
    }

    .home-banner-box {
        padding: 16px 20px;
        width: 100%;
        height: auto;
        position: relative;
        transform: none;
        background-image: url('../images/home-banner-box-bg-mobile.svg');
        background-size: contain;
    }

    .banner_min_title {
        font-size: 14px;
        line-height: 1.1;
        /* letter-spacing: ; */
    }

    .banner-title {
        font-size: 30px;
        line-height: 1.1;
        max-width: 224px;
    }


    .banner_sub_title {
        font-size: 18px;
        max-width: 289px;
    }

    .banner-button {
        font-size: 14px;
        padding: 18px 24px;
        height: 47px;
    }

}

/* ==========================================
  PAGES BANNER
  ========================================== */

  video#video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

#banner_img {
    width: 100vw;
}

.pages-banner {
    margin-top: 100px;
}

.pages-banner-img {
    position: relative;
    background-image: url('../images/home/home-banner.svg');
    /* min-height: 637px; */
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;

}

.pages-banner-box {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 24px 28px;
    width: 526px;
    /* min-height: 351px; */
    height: auto;
    position: absolute;
    transform: translate(-10%, -120%);
    border-radius: 6px;
    background: #ffffffff;
    background-image: url('../images/home-banner-box-bg.svg');
    background-repeat: no-repeat;
    z-index: 1000;
}

@media (min-width: 769px) {
    /* EN/LTR: same idea as html[lang^="en"] .ourteam-banner-box — avoid translate(-10%, …) clipping the box off the left edge */
    /* EN: anchor the box inside the banner image instead of translate(-120%) of its own
       height — the longer English text made the box taller and pushed it above the banner. */
    html[lang^="en"] .pages-banner-img {
        position: relative;
    }

    html[lang^="en"] .pages-banner-img #banner_img {
        display: block;
    }

    html[lang^="en"] .pages-banner-box {
        transform: none;
        top: auto;
        bottom: clamp(16px, 4vw, 70px);
        max-width: min(760px, calc(100vw - 40px));
        max-height: calc(100% - 32px);
        overflow: hidden;
        box-sizing: border-box;
        width: auto;
        gap: clamp(10px, 1.4vw, 22px);
        padding: clamp(14px, 1.8vw, 24px) clamp(18px, 2vw, 28px);
        /* LTR mirror of Hebrew visual gutter: inset from the start (left) edge */
        left: clamp(24px, 5vw, 80px);
        right: auto;
    }

    html[lang^="en"] .pages-banner-title,
    html[lang^="en"] .pages-banner-sub-title {
        max-width: 100%;
    }

    html[lang^="en"] .pages-banner-title {
        font-size: clamp(28px, 3.3vw, 50px);
    }

    html[lang^="en"] .pages-banner-sub-title {
        font-size: clamp(16px, 1.6vw, 24px);
    }

    html[lang^="en"] .pages-banner-sub-title p {
        margin: 0;
    }
}

.pages-banner-title {
    font-size: 50px;
    font-weight: 500;
    line-height: 1;
    max-width: 450px;
}

.pages-banner-sub-title {
    font-size: 24px;
    line-height: 1.4;
    max-width: 435px;
}

.pages-banner-button {
    background: #0081E8;
    border-radius: 60px;
    font-size: 16px;
    padding: 18px 24px;
    height: 50px;
    border: none;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;

    a {
        color: #ffffff;
        text-decoration: none;
    }


}

.pages-banner-button:hover {
    background-color: #ffffff;

    a {
        color: #0081E8;
    }
}

@media (max-width:768px) {
    .pages-banner {
        margin-top: 0;
        position: relative;
    }

    .pages-banner-img {
        min-height: 258px;
    }

    .pages-banner-img img {
        min-height: 258px;
        border-radius: 0;
        height: 280px;
    }

    .pages-banner-box {
        
        transform: translateY(-240px);
        width: 80%;
        gap: 15px;
        padding: 15px !important;
        position: absolute;
        right: 20px;
        background-image: url('../images/home-banner-box-bg-mobile.svg');

    }

    /* EN: the longer text made the box taller than the fixed 240px lift, so it spilled
       outside the picture. Keep it absolute but pin it to the bottom of the picture,
       and give the EN picture enough height to hold the taller box. */
    html[lang^="en"] .pages-banner-img img {
        height: 340px;
        min-height: 340px;
        object-fit: cover;
    }
    html[lang^="en"] .pages-banner-box {
        position: absolute;
        transform: none;
        top: auto;
        bottom: 20px;
        right: 20px;
        box-sizing: border-box;
    }

    .pages-banner-title {
        font-size: 30px;
        line-height: 1.1;
        top: -150px;
    }


    .pages-banner-sub-title {
        font-size: 16px;
        max-width: 90%;
        p{
            margin: 0;
        }
    }

    .pages-banner-button {
        font-size: 14px;
        padding: 18px 24px;
        height: 47px;
    }

}

/* ==========================================
  ARROW-LEFT
  ========================================== */
.arrow-left {
    display: inline-block;
    transition: transform 0.3s ease;
}

.arrow-left:hover {
    animation: moveLeft 0.6s ease forwards;
}

@keyframes moveLeft {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-3px);
    }

    100% {
        transform: translateX(0);
    }
}

/* EN/LTR: arrow uses scaleX(-1); keyframes must keep the flip or hover replaces transform */
html[lang^="en"] .arrow-left:hover {
    animation: moveLeftEn 0.6s ease forwards;
}

@keyframes moveLeftEn {
    0% {
        transform: scaleX(-1) translateX(0);
    }

    25% {
        transform: scaleX(-1) translateX(-5px);
    }

    50% {
        transform: scaleX(-1) translateX(5px);
    }

    75% {
        transform: scaleX(-1) translateX(-3px);
    }

    100% {
        transform: scaleX(-1) translateX(0);
    }
}

/* ==========================================
  FOOTER
  ========================================== */

.footer {
    height: 308px;
    background-color: #001925;
    padding: 20px;
}


.footer-links {
    display: flex;
    justify-content: space-around;
    height: 100%;
}

.address_flex_footer,
.footer-link-btn {
    color: white !important;
    max-width: 220px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 300;
}

.footer-link {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 300;
    color: white !important;
}

.footer-bottom-link a {
    color: white !important;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 300;
}

.footer-bottom-social-img {
    margin-top: 20px;
}

.footer-bottom-social-span {
    color: #6C8491 !important;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
}
.footer-electra-logo {
    max-width: 250px;
}

@media(max-width:768px) {
    .footer {
        height: auto;
    }


    .footer-links {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding-bottom: 20px;
    }

    .footer-electra-logo img {
        width: 180px;
    }

    .address_flex_footer {}

    .footer-link {
        align-items: center;
    }

    .footer-link::before {
        content: "";
        width: 100vw;
        border-top: 1px solid #ffffff29;
    }

    .footer-link-btn {
        font-size: 16px;
        line-height: 2.1;
        font-weight: 400;
        text-align: center;
        align-items: center;
    }


    .footer-bottom-links {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        order: 2;
        justify-content: center;
    }

    .footer-bottom-link {
        line-height: 1.9;
    }

    .footer-link-btn-flex .footer-link-btn {
        line-height: normal;
    }
    .footer-link-btn-flex {
        margin-bottom: 20px;
    }
    span.last-line-in-a-row {
        color: white;
        margin-left: 5px;
        margin-right: 5px;
    }

    .footer-bottom-link a {}

    .footer-bottom-social-img {
        margin: 10px;
        order: 1;
    }

    .footer-bottom-social-span {
        line-height: 1.46;
        flex-direction: column;
        align-items: center;
    }
}

/* ==========================================
  CONTACT
  ========================================== */
.contact-page {
    position: relative;
    transform: translate(-0%, -35%);
    z-index: 11;
    border-radius: 6px;
    padding: 100px;
    background-color: #0081E8;
    display: flex;
    justify-content: space-between;
    background-image: url('../images/contact-page-bg.svg');
    background-repeat: no-repeat;
    background-position: right;
}
@media(max-width:768px) {
    .contact-page {
        flex-direction: column;
        transform: translate(-0%, -0%);
        z-index: 11;
        padding: 20px;
        background-image: url('../images/contact-page-bg-mobile.svg');
        background-position:top right;
        border-radius: 0;

    }
    .title-contact-mobile{
        position: relative;
        top: -100px;
    }
}