@font-face {
  font-family: ktavyad;
  src: url(font/FtPilKahol-1.00-400-Regular.otf);
}
@font-face {
  font-family: NotoSansHebrew;
  src: url(font/NotoSansHebrew.ttf);
}
img{
  pointer-events: none;
}

body{
  margin: 0;
  font-family: NotoSansHebrew;
  font-size:16px;
  color: #000000;
  width:100%;
}
h2 {
   display:block;
   text-align:right;
   font-weight:bold;
   font-size: clamp(14px, 2vw, 18px);
   direction: rtl;
   width:100%;
   margin:0 0 16px 0;
   float:none;
}
.page-title {
   font-size: clamp(16px, 2vw, 20px);
   text-decoration: none;
   font-weight: bold;
   text-align:right;
   direction: rtl;
   line-height: 100%;
}

.menu-bar .navlink{
  position: relative;
  color: #FFFFFF;
  text-decoration: none;
}

.menu-bar .navlink::after{
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 0;
  height: 1px;
  background: currentColor;
  transform: translateX(-50%);
  transition: width .35s ease;
}

.menu-bar .navlink:hover::after{
  width: 100%;
}

.menu-bar .navlink.is-active::after{
  width: 100%;
}

.phone {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  text-decoration: none;
  text-align: right;
  color: #FFFFFF;
  direction: rtl;
  font-weight: normal;
  font-size: clamp(10px, 2vw, 16px);
  padding: 14px 16px;
  z-index: 100;
}
.burger{
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  cursor: pointer;
  overflow: visible;
}

.burger span{
  display: block;
  width: 24px;
  height: 2px;
  margin: 0;
  background: #ffffff;
  border-radius: 999px;
}
.logo {
  display: block;
  max-height: 50px;
  margin-right:auto;
}

.menu-bar a {
  display: inline-block;
  color: #FFFFFF;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
}

#upBtn {
  display:none;
  border: none;
  border-radius: 10px;
  outline: none;
  background-color: #F3742D;
  color: white;
  font-size: 50px;
  bottom: 10px;
  right: 2%;
  z-index: 99;
  height:60px;
  width:50px;
  position: fixed;
  cursor: pointer;
}

#nav{
  background-color: #0e4374;
  background-attachment: local;
  background-repeat:no-repeat;
  background-size:100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: rtl;
  width:100%;
  height: 70px;
  text-align:right;
  opacity: 1;
  z-index: 98;
  position: fixed;
  top: 0;
  left: 0;
  box-sizing: border-box;
  padding: 0 12px;
}

.nav30R {
  background-color: #0e4374;
  background-repeat: no-repeat;
  background-size: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex: 0 1 auto;
  text-decoration: none;
  font-weight: normal;
  font-size: clamp(10px, 2vw, 16px);
  width: auto;
  margin: 0;
}
.nav30L {
  background-color: #0e4374;
  background-repeat: no-repeat;
  background-size: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex: 0 1 auto;
  text-decoration: none;
  font-weight: normal;
  font-size: clamp(10px, 2vw, 16px);
  width: auto;
  margin: 0;
}

.center_sec {
  background-image: url("img/bg.png");
  background-repeat: repeat;
  display: flex;
  gap: 3%;
  direction: rtl;
  width: 98%;
  height: auto;
  text-align: right;
  margin: 100px auto 10px auto;
  opacity: 1;
  z-index: 98;
}
.section{
  display: flex;
  gap: 3%;
  direction: rtl;
  width: 98%;
  height: auto;
  flex-wrap: wrap;
  box-sizing: border-box;
  text-align: right;
  margin: 0px auto 10px auto;
  opacity: 1;
  z-index: 98;
}

.block_terms {
  background-color: #F0F0F5;
  flex: 1 1 0;
  min-width: 0;
  box-sizing: border-box;
  padding: 10px 15px;
  text-align: justify;
  font-weight: normal;
  direction: rtl;
  opacity: 0.9;
}

#blockMR {
  background-color: #F0F0F5;
  background-repeat: no-repeat;
  background-size: 100%;
  display: block;
  text-decoration: none;
  text-align: justify;
  font-weight: normal;
  font-size: clamp(10px, 2vw, 16px);
  direction: rtl;
  width: 60%;
  height: auto;
  padding: 10px 15px;
  margin: 0;
  opacity: 0.9;
  box-sizing: border-box;
}

#blockML {
  background-color: #F0F0F5;
  background-repeat:no-repeat;
  background-size:100%;
  display:block;
  text-decoration:none;
  text-align:justify;
  font-size:clamp(10px,2vw,16px);
  direction:rtl;
  width:37%;
  height:auto;
  padding:10px 15px;
  margin:0;
  opacity:1;
  box-sizing: border-box;
}
#blockCalc1 {
   background-color: #F0F0F5;
   background-repeat:no-repeat;
   background-size:100%;
   display: block;
   text-decoration: none;
   text-align:justify;
   font-weight:normal;
   font-size: clamp(10px, 2vw, 16px);
   direction: rtl;
   float: right;
   width:20%;
   height:1100px;
   padding-top: 10px;
   padding-left: 15px;
   padding-right: 15px;
   padding-bottom: 10px;
   margin-top: 0%;
   margin-right: 0%;
   margin-left: 0%;
   margin-bottom:0%;
   opacity: 0.9;
}

#blockCalc2 {
   background-color: #F0F0F5;
   background-repeat:no-repeat;
   background-size:100%;
   display: block;
   text-decoration: none;
   text-align:justify;
   font-weight:normal;
   font-size: clamp(10px, 2vw, 16px);
   direction: rtl;
   float: right;
   width:100%;
   height:1100px;
   padding-top: 10px;
   padding-left: 15px;
   padding-right: 15px;
   padding-bottom: 10px;
   margin-top: 0%;
   margin-right: 0%;
   margin-left: 0%;
   margin-bottom:0%;
   opacity: 0.9;
}
#blockCntct {
   background-color: #F0F0F5;
   background-repeat:no-repeat;
   background-size:100%;
   display: block;
   text-decoration: none;
   text-align:left;
   direction: rtl;
   float: right;
   width: 45%;
   height:auto;
   margin-top: 0%;
   margin-right: 0%;
   margin-left: 0%;
   margin-bottom: 0%;
   opacity: 1;
}


.block30 {
   display: block;
   text-decoration: none;
   text-align:right;
   direction: rtl;
   float: right;
   width:30%;
   height:auto;
   margin-top: 0%;
   margin-right:0%;
   margin-left: 0%;
   margin-bottom: 0%;
}
.block70 {
   display: block;
   text-decoration: none;
   text-align:right;
   direction: rtl;
   float: right;
   width:70%;
   height:auto;
   margin-top: 0%;
   margin-right:0%;
   margin-left: 0%;
   margin-bottom: 0%;
}

.block50 {
   background-repeat:no-repeat;
   background-size:100%;
   display: block;
   text-decoration: none;
   text-align:justify;
   font-weight:normal;
   font-size: clamp(10px, 2vw, 16px);
   direction: rtl;
   float: right;
   width:48%;
   height:auto;
   opacity: 0.9;
}
.cntrCmnt {
   background-repeat:no-repeat;
   background-size:100%;
   display: block;
   text-decoration: none;
   text-align:center;
   direction: rtl;
   font-size: clamp(10px, 2vw, 16px);
   float: right;
   width:100%;
   height:auto;
   opacity: 1;
}

#chart100 {
   background-color: #FFFFFF;
   background-repeat:no-repeat;
   background-size:100%;
   display: block;
   text-decoration: none;
   text-align:right;
   text-indent:0px;
   float: right;
   width:80%;
   height:auto;
   box-shadow: 5px 5px 3px 0 rgba(0, 0, 0, 0.5);
   margin-top: 5%;
   margin-right: 10%;
   margin-left: 10%;
   margin-bottom: 5%;
   opacity: 1;
}

.price {
   background-color: #FFFFFF;
   background-repeat:no-repeat;
   background-size:100%;
   display: block;
   text-decoration: none;
   text-align:justify;
   text-indent:20px;
   font-weight:normal;
   font-size: clamp(10px, 2vw, 16px);
   direction: rtl;
   float: right;
   width:30%;
   height:auto;
   box-shadow: 5px 5px 3px 0 rgba(0, 0, 0, 0.5);
   opacity:1;
}

.price_title {
   background-color: #F3742D;
   background-repeat:no-repeat;
   background-size:100%;
   display: block;
   font-size:22px;
   text-decoration: none;
   text-align:center;
   direction: rtl;
   color: #FFFFFF;
   width:100%;
   height:auto;
   padding-top: 15px;
   padding-bottom: 15px;
   margin-top: 0%;
   margin-right: 0%;
   margin-left: 0%;
   margin-bottom: 0%;
   opacity:1;
}
.thnx {
   background-color: #F0F0F5;
   background-repeat:no-repeat;
   background-size:100%;
   display: block;
   font-family: ktavyad;
   font-size:48px;
   text-align:center;
   width:100%;
   height:auto;
   margin-right: 0%;
   margin-left: 0%;
   margin-bottom: 3%;
}
.bank{
   background-repeat:no-repeat;
   background-size:100%;
   display: block;
   text-decoration: none;
   text-align:center;
   direction: rtl;
   float: right;
   width:11%;
   height:auto;
   box-shadow: 5px 5px 3px 0 rgba(0, 0, 0, 0.5);
   opacity: 1;
}

.footer {
   background-repeat:no-repeat;
   background-size:100%;
   border-right-color: #000000;
   display: block;
   text-decoration: none;
   text-align:justify;
   font-weight:normal;
   font-size: clamp(8px, 1vw, 12px);
   direction: rtl;
   float: right;
   width:16%;
   height:auto;
   margin-bottom:100px;
   opacity: 0.9;
}

.fb{
  background-image:url("img/fbico.png");
  background-size: 30px 30px;
  background-repeat:no-repeat;
  width: 30px;
  height: 30px;
  margin: 0;
  z-index: 99;
  display: inline-block;
}

.ig{
  background-image:url("img/inico.png");
  background-size: 30px 30px;
  background-repeat:no-repeat;
  width: 30px;
  height: 30px;
  margin: 0;
  z-index: 99;
  display: inline-block;
}
.ph {
  width: 30px;  /* Размер иконки */
  height: 30px; /* Размер иконки */
  margin-right: 8px;  /* Отступ между иконкой и текстом */
  vertical-align: middle;  /* Центрируем по вертикали относительно текста */
  display: inline-block;
}
calc1label {
   display: block;
   margin-top: 15px;
}
.calc-row {
   margin-bottom: 15px;
   display: flex;
   align-items: center;
   gap: 8px;
   flex-wrap: wrap;
}
.calc-header {
   display: flex;
   gap: 8px;
   margin-bottom: 6px;
   font-weight: bold;
   font-size: clamp(8px, 1vw, 16px);
   direction: rtl;
}
.calc-header > div {
   width: clamp(50px, 8vw, 150px);
   text-align: right;
}
.calc-header > div:first-child {
   width: clamp(50px, 8vw, 150px);
}
#calcBtn {
   margin-top: 10px;
   padding: 10px 20px;
   font-size: 16px;
   outline: none;
   background-color: #F3742D;
   color: white;
   border: none;
   border-radius: 5px;
   cursor: pointer;
}
#calc1result {
   margin-top: 20px;
   font-weight: bold;
   font-size: 18px;
}
input {
   padding: 8px;
   margin-top: 5px;
   box-sizing: border-box;
}
input[type=number] {
   width: clamp(70px, 8vw, 150px);
}
input[type=text] {
   width: clamp(70px, 8vw, 150px);
}
select {
   font-size: clamp(8px, 1vw, 16px);
   width: clamp(70px, 8vw, 150px);
   padding: 8px;
   margin-top: 5px;
   box-sizing: border-box;
}

.ok {
   color: green;
   font-weight: normal;
   font-size:16px;
   text-decoration: none;
   text-align:right;
   direction: rtl;
}

.error {
   color: #F3742D;
   font-size:16px;
   text-decoration: none;
   font-weight: normal;
   text-align:right;
   direction: rtl;
}

#chartContainer1 {
   margin-top: 30px;
}
#chartContainer2 {
   width: clamp(600px, 50vw, 900px);
   height: 400px;
   margin-top: 30px;
}

#totals {
   margin-top: 25px;
   font-size: 16px;
}
#indexRateContainer {
   margin-bottom: 20px;
   font-size: clamp(8px, 1vw, 16px);
}

/* Desktop nav alignment (no floats) */
#nav > .nav30R:first-child{ justify-content: flex-start; }
#nav > .nav30R:nth-of-type(2){ justify-content: center; }
#nav > .nav30L{ justify-content: flex-end; }

@media (max-width: 768px){
  #nav{
    display: flex;
    flex-direction: row;
    direction: ltr;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 16px;
  }
  
  .nav30R,  .nav30L{
    float: none;
    width: auto;
    display: flex;
    align-items: center;
    margin: 0;
  }

  /* Mobile: remove empty space from desktop menu wrapper (menuBar is absolutely positioned) */
  #nav > .nav30R:nth-of-type(2){
    flex: 0 0 0;
    width: 0;
    padding: 0;
    margin: 0;
  }
  .ph{
    display: none;
  }
  #nav > .nav30R:first-child{ display: none; }
  #nav > .nav30R:first-child .menu-bar{ display: none; }
  #nav{ box-sizing: border-box; }
  .menu-bar a.ph{ display: none !important; }
  .burger{
    order: 3;
    margin-right: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: 0;
    cursor: pointer;
    flex: 0 0 auto;
    margin-right: 0 !important;
    box-sizing: border-box;
    position: relative;
    z-index: 2000;
    overflow: visible;
  }
  .burger span{
    display: block;
    width: 24px;
    height: 2px;
    margin: 0;
    background: #ffffff;
    border-radius: 999px;
   position: static !important;
   transform: none !important;
   left: auto !important;
   right: auto !important;
  }
.nav30L{
    order: 1;
    margin-right: auto;
  }
  .logo{
    max-height: 40px;
    margin-left: 0;
  }
  .fb,  .ig{
    order: 2;
    margin: 0 6px;
  }
  #menuBar{
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    background: #0e4374;
    direction: rtl;
    z-index: 1000;
  }
  #menuBar.active{
    display:flex;
    flex-direction:column;
  }
  #menuBar a{
    float:none;
    width:100%;
    box-sizing:border-box;
    display: block;
    padding: 12px;
    text-align: right;
    border-top: 1px solid rgba(255,255,255,0.2);
}
  .section{
    display: flex;
    flex-direction: column;
  }
  .center_sec{
    justify-content:space-between;
    align-items:flex-start;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin-top: 76px;
    margin-bottom: 0px;
    margin-right: 0;
    margin-left: 0;

  }
  #blockMR {
    width: 100% !important;
    float: none !important;
    display: block
  }
  
  #blockML{
    width: 100% !important;
    float: none !important;
    display: block;
  }
.footer{
    width: 100% !important;
    float: none !important;
    display: block;
  }
  .bank{
    width: 70% !important;
    float: none !important;
    display: block;
    margin-bottom: 20px;
    margin-right: 15%;
    margin-left: 15%;
  }
   .block50{
    width: 100% !important;
    float: none !important;
    display: block;
    margin-bottom: 20px;
  }
 .price{
    width: 100% !important;
    float: none !important;
    display: block;
    margin-bottom: 20px;
  }
  img{
    max-width: 100%;
    height: auto;
  }
  #menuBar .hide-mobile{
    display: none;
  }

#btmmenue {
   background-color: none;
   background-repeat: no-repeat;
   background-size: 100%;
   display: flex;  /* Flexbox для выравнивания кнопок */
   justify-content: space-between;  /* Располагаем кнопки равномерно */
   align-items: center;  /* Вертикальное выравнивание */
   position: fixed;
   bottom: 15px;
   left: 25%;
   width: 50%;
   height: 50px;
   z-index: 100;
}

.block25bm {
   background-color: none;
   background-repeat: no-repeat;
   width: 50%;  /* Уменьшаем ширину для каждой кнопки */
   height: 50%;  /* Уменьшаем высоту блока */
   display: flex;
   justify-content: center;  /* Центрируем кнопки внутри блока */
   align-items: center;  /* Центрируем кнопки по вертикали */
}
#wabtn{
   background-image:url("img/mwaico.png");
   background-size: 50px 50px;  /* Уменьшаем размер иконок */
   background-repeat: no-repeat;
   width: 50px;  /* Уменьшаем ширину кнопок */
   height: 50px;  /* Уменьшаем высоту кнопок */
   display: block;  /* Используем блочное отображение */
   margin: 0;  /* Убираем лишние отступы */
}
#phbtn{
   background-image:url("img/mphico.png");
   background-size: 50px 50px;  /* Уменьшаем размер иконок */
   background-repeat: no-repeat;
   width: 50px;  /* Уменьшаем ширину кнопок */
   height: 50px;  /* Уменьшаем высоту кнопок */
   display: block;  /* Используем блочное отображение */
   margin: 0;  /* Убираем лишние отступы */
}
#wzbtn{
   background-image:url("img/mwzico.png");
   background-size: 50px 50px;  /* Уменьшаем размер иконок */
   background-repeat: no-repeat;
   width: 50px;  /* Уменьшаем ширину кнопок */
   height: 50px;  /* Уменьшаем высоту кнопок */
   display: block;  /* Используем блочное отображение */
   margin: 0;  /* Убираем лишние отступы */ 
}
}