.page-loading {
   position: fixed;
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
   width: 100%;
   height: 100%;
   -webkit-transition: all .4s .2s ease-in-out;
   transition: all .4s .2s ease-in-out;
   background-color: #fff;
   opacity: 0;
   visibility: hidden;
   z-index: 9999;
}

[data-bs-theme="dark"] .page-loading {
   background-color: #0b0f19;
}

.page-loading.active {
   opacity: 1;
   visibility: visible;
}

.page-loading-inner {
   position: absolute;
   top: 50%;
   left: 0;
   width: 100%;
   text-align: center;
   -webkit-transform: translateY(-50%);
   transform: translateY(-50%);
   -webkit-transition: opacity .2s ease-in-out;
   transition: opacity .2s ease-in-out;
   opacity: 0;
}

.page-loading.active>.page-loading-inner {
   opacity: 1;
}

.page-loading-inner>span {
   display: block;
   font-size: 1rem;
   font-weight: normal;
   color: #9397ad;
}

[data-bs-theme="dark"] .page-loading-inner>span {
   color: #fff;
   opacity: .6;
}

.page-spinner {
   display: inline-block;
   width: 2.75rem;
   height: 2.75rem;
   margin-bottom: .75rem;
   vertical-align: text-bottom;
   border: .15em solid #b4b7c9;
   border-right-color: transparent;
   border-radius: 50%;
   -webkit-animation: spinner .75s linear infinite;
   animation: spinner .75s linear infinite;
}

[data-bs-theme="dark"] .page-spinner {
   border-color: rgba(255, 255, 255, .4);
   border-right-color: transparent;
}

@-webkit-keyframes spinner {
   100% {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
   }
}

@keyframes spinner {
   100% {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
   }
}

/* Увеличиваем высоту блока для десктопной версии */
@media (min-width: 992px) {
   .card {
      height: 250px;
      /* Устанавливаем высоту блока */
   }

   .icon-desktop {
      bottom: 35px;
      /* Отступ снизу */
      right: 35px;
      /* Отступ справа */
   }
}
@media (max-width: 991px) {
   .sro-mobile {
      background-color: #0258A0 !important;
      padding: 0;
      margin: 0;
   }
}


.bg-desktop {
   background-color: transparent !important;
}

/* Фон для мобильной версии */
@media (max-width: 991px) {
   .bg-desktop {
       background-color: #014D8C !important;
   }
}


/* Базовый стиль для карточки */
.card-hover {
   cursor: pointer;
 }

.custom-hover:hover {
   color:#fff !important;
   text-decoration: underline;
   text-decoration-color: #FAD473;
   text-decoration-thickness: 2px; /* Толщина линии */
   text-underline-offset: 5px; /* Смещение линии подчеркивания */
}


.swiper-container .swiper-slide {
   transition: transform 0.3s ease, scale 0.3s ease;
   transform: scale(0.8) !important; /* Уменьшаем все слайды */
 }

 .swiper-container .swiper-slide.swiper-slide-active {
   transform: scale(1.0) !important; /* Увеличиваем активный слайд */
 }

 .border-dark {
   border-color: #000 !important;
}

.custom-shadow {
   box-shadow: -5px 9px 26px -7px rgba(64,64,64,1) !important;
   -webkit-box-shadow: -5px 9px 26px -7px rgba(64,64,64,1) !important;
   -moz-box-shadow: -5px 9px 26px -7px rgba(64,64,64,1) !important;
   border:none !important;
   border-bottom-color: none;
}

.card-border-none {
   border: none !important;
}

.accordion-button-custom:not(.collapsed)::after {
   background-color: #014D8C;
   background-size:2rem;
   fill:#fff;
}


.accordion-button-custom:after {
   background-color: #014D8C;
   color:#fff;
   background-size:2rem;
   fill:#fff;
}

.accordion-button:not(.collapsed)::after {
   box-shadow: none;
}

.arrow-default {
   background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='152' height='66' viewBox='0 0 152 66' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cline x1='0.5' y1='33' x2='150.5' y2='33' stroke='white' stroke-width='2'/%3e%3cpath d='M118.5 65L150.5 33L118.5 0.999999' stroke='white' stroke-width='2'/%3e%3c/svg%3e ");
   background-repeat: no-repeat;
   background-position: 0px 20px;
}


.bg-diff .col-lg-6:nth-child(4n + 1) .card {
   background-image: url(/assets/img/bg_pattern_1.png);
}

.bg-diff .col-lg-6:nth-child(4n + 2) .card  {
   background-image: url(/assets/img/bg_pattern_2.png);
}

.bg-diff .col-lg-6:nth-child(4n + 3) .card  {
   background-image: url(/assets/img/bg_pattern_3.png);
}

.bg-diff .col-lg-6:nth-child(4n + 4) .card  {
   background-image: url(/assets/img/bg_pattern_4.png);
}



.btn-big {
   font-size:1.75rem;
}

.btn-social .bx {
   font-size: 1.5rem;
}

.btn-social:hover {
   background: #F46E0E;
}

.gradient-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    z-index: 1;
    pointer-events: none;
}
.gallery-item-caption {
    z-index: 2;
}

.transparent-table tr td, .transparent-table tr th {
   background-color: transparent !important;
   color:#fff;
}

.zoom-bg {
   background-size: 100%; /* Исходный размер фона */
   transition: background-size 0.5s ease !important; /* Плавное увеличение */
   background-position: center;
}

/* Масштабирование при наведении */
.zoom-bg:hover {
   background-size: 110%; /* Увеличение фона на 10% */
}

.main-arrow-link {
   background: url("data:image/svg+xml,%3Csvg width='48' height='49' viewBox='0 0 48 49' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M48 24.5C48 30.8652 45.4714 36.9697 40.9706 41.4706C36.4697 45.9714 30.3652 48.5 24 48.5C17.6348 48.5 11.5303 45.9714 7.02944 41.4706C2.52856 36.9697 0 30.8652 0 24.5C0 18.1348 2.52856 12.0303 7.02944 7.52944C11.5303 3.02856 17.6348 0.5 24 0.5C30.3652 0.5 36.4697 3.02856 40.9706 7.52944C45.4714 12.0303 48 18.1348 48 24.5ZM17.637 32.984C17.4986 33.1273 17.3331 33.2415 17.1501 33.3202C16.9671 33.3988 16.7703 33.4401 16.5711 33.4419C16.3719 33.4436 16.1744 33.4057 15.9901 33.3302C15.8057 33.2548 15.6382 33.1434 15.4974 33.0026C15.3566 32.8618 15.2452 32.6943 15.1698 32.5099C15.0943 32.3256 15.0564 32.1281 15.0581 31.9289C15.0599 31.7297 15.1012 31.5329 15.1798 31.3499C15.2585 31.1669 15.3727 31.0014 15.516 30.863L27.804 18.575H19.5C19.1022 18.575 18.7206 18.417 18.4393 18.1357C18.158 17.8544 18 17.4728 18 17.075C18 16.6772 18.158 16.2956 18.4393 16.0143C18.7206 15.733 19.1022 15.575 19.5 15.575H31.425C31.8228 15.575 32.2044 15.733 32.4857 16.0143C32.767 16.2956 32.925 16.6772 32.925 17.075V29C32.925 29.3978 32.767 29.7794 32.4857 30.0607C32.2044 30.342 31.8228 30.5 31.425 30.5C31.0272 30.5 30.6456 30.342 30.3643 30.0607C30.083 29.7794 29.925 29.3978 29.925 29V20.696L17.637 32.984Z' fill='white'/%3E%3C/svg%3E");
   width: 50px;
   height: 50px;
   background-repeat: no-repeat;
}