:root{
    --primary-color: #D8001A;
}
::-webkit-scrollbar-track
{
	border-radius: 10px;
	opacity: 1;
}
a{
    text-decoration: none;
    color: var(--primary-color);
}
a:hover{
    color: #2F2E41;
}
::-webkit-scrollbar
{
	width: 12px;
	background-color: white;
}
::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	background-color: var(--primary-color);
}

*{
    font-family: Poppins;
    font-size: 16px;
    color: #2F2E41;
    line-height: 1.8;
}
::selection{
    background-color: var(--primary-color);
    color: white;
}
.navbar{
    position: fixed;
    width: 100vw;
    top: 0;
}
nav.navbar{
    z-index: 2000;
    transition: all 0.2s linear;

}
.main-nav img{
    max-height: 100px;
    transition: all 0.3s;
}

nav.navbar.moved#nav{
    background-color: white;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
nav.navbar{
    background-color: white;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
@media (max-width: 576px) {
    .main-nav.moved img{
        max-height: 60px;
    }
}
nav.navbar:has(button.navbar-toggler[aria-expanded="false"]){
    background-color: transparent;
    box-shadow: unset;
}
nav.navbar a.nav-link.active, nav.navbar a.nav-link:hover{
    color: var(--primary-color);
}
.home-hero{
    background: linear-gradient(270deg, rgba(255,255,255,0) 79%, rgba(255,255,255,1) 92%, rgba(255,255,255,1) 100%), url("../assets/img/pexels-olly-3756678.jpg") ;
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
.hero-title, .hero-title span{
    font-size: 3rem;
    text-transform: uppercase;
    font-weight: bold;
    color: black;
}
@media (max-width: 460px) {
   .hero-title, .hero-title span{
    font-size: 36px;
}
	.margin-fix {
	margin-top: 150px;
}

}


  .review-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .review-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  }

.text-primary{
    color: var(--primary-color) !important;
}
.btn{
    padding: 1rem 2rem 1rem 2rem;
}

.btn-primary{
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}
.btn-primary:hover{
    border-color: var(--primary-color);
    background-color: transparent;
    color: var(--primary-color);
}
.btn-outline-primary{
    border-color: var(--primary-color);   
    color: var(--primary-color);
}
.btn-outline-primary:hover{
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.container{
    padding-top: 200px;
}
.section-margin{
    margin-top: 200px;

}
h2{
    font-size: 1.5rem;
    font-weight: bold;
}
h2, h3, h4{
    padding-bottom: 25px;
    color: #2F2E41;
}
h3{
    font-size: 1rem;
    font-weight: bold;
}

.text-justify p  {
  text-align: justify;
}

.text-justify ul  {
  text-align: justify;
}


.text-justify li {
  text-align: justify;
}


h2> strong, h3 > strong, h4> strong, h2> span, h3 > span, h4> span{
    font-size: inherit;
    font-weight: inherit;
}
.img-fluid{
    object-fit: cover;
}
.sticky-top{
    top: 85px;
}
@media (min-width: 768px) {
    .sticky-top {
        top: 125px;
    }

    
}

@media (max-width: 768px) {
    .pt-small-5{
        padding-top: 50px;
    }
        .text-justify p  {
  text-align: start;
}

.text-justify ul  {
  text-align: start;
}


.text-justify li {
  text-align: start;
}
    
}

ul.arrow-list {
    list-style: none; /* Remove default bullets */
    padding-left: 0;  /* Ensure proper alignment */
}

ul.arrow-list li {
    position: relative;
    padding-left: 30px; /* Space for the icon */
    padding-bottom: 0.6rem;
}

/* Стили для карусели отзывов */
#testimonialCarousel .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  padding: 20px;
  background-size: 50% 50%;
}

.truncate-text {
  /* Минимальная ширина 0 заставляет flex-элемент подчиняться 
     ограничениям родителя, а не пытаться расшириться под контент. 
     Это ключевое исправление. */
  min-width: 0;

  /* Остальные свойства для обрезки текста */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#testimonialCarousel .carousel-control-prev {
  left: -50px; /* Отодвигаем стрелку немного левее */
}

#testimonialCarousel .carousel-control-next {
  right: -50px; /* Отодвигаем стрелку немного правее */
}

/* Адаптация для мобильных, чтобы стрелки не вылезали за экран */
@media (max-width: 768px) {
  #testimonialCarousel .carousel-control-prev {
    left: -10px;
  }
  #testimonialCarousel .carousel-control-next {
    right: -10px;
  }
  
  #testimonialCarousel .carousel-control-prev-icon,
  #testimonialCarousel .carousel-control-next-icon {
    padding: 15px; /* Уменьшаем размер на мобильных */
  }
}

ul.arrow-list li::before {
    font-family: "bootstrap-icons";
    content: "\f135"; 
    font-size: 2rem;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%); /* Center vertically */
}

.bg-gray{
    background-color: #F1F1F5;
}
.cta{
    margin-top: 200px;
    padding: 30px 0;
}
.cta p {
    margin-bottom: 0;
    font-size: 1.5rem;
    font-weight: bold;
}
.offer-item{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    aspect-ratio: 1/1;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    text-align: center;
    transition: 0.3s all;
    border-radius: 1rem;
    
}
.offer-item:hover i{
    transform: scale(1.2);
    transition: 0.3s transform;

}
.offer-item i{
    color: var(--primary-color);
    font-size: 3rem;
}

.offer-item.active, .offer-item:hover{
    background-color: var(--primary-color);
    color: white;
}
.offer-item:hover > *, .offer-item.active > *{
    color: white;
}
.step-block{
    display: flex;
    flex-direction: row;
}
.step-number{
    background-color: #F8F8F8;
    color: #2F2E41;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    width: 75px;
    height: 75px;
    text-align: center;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-items: center;
    align-content: center;
    justify-content: center;
    transition: 0.3s all;
    margin-top: 10px;
}
.step-text{
    padding-left: 10px;
    display: flex;
    justify-content: center;
    align-items: center;

}

.step-arrow img{
    width: 30px;
    opacity: 0.6;
    animation: arrow-blink forwards 0.6s linear;
    transform: rotate(-20deg);
}
.step-arrow.rotated img {
    transform: scale(1, -1) rotate(-20deg);
}
.active > .step-number, .step-number:hover{
    background-color: var(--primary-color);
    color: white;
    border-radius: 20px;
}
.row + .row{
    margin-top: 50px;
}

@keyframes arrow-blink {
    from{
        opacity: 0.5;
    }
    to{
        opacity: 1;
    }
}
.tabel-prices{

}
.tabel-prices thead th{
    color: #2F2E41;
    text-transform: uppercase;
    text-align: center;
    align-content: baseline;
}
.tabel-prices thead th small{
    color: var(--primary-color);
    font-weight: 400;
}
strong {
    color: inherit;
    font-weight: bold !important;
}
.tabel-prices td.section-title{
    text-align: center;
    color: #2F2E41;
    text-transform: uppercase;
    text-decoration: underline;
    text-decoration-color: var(--primary-color);
    font-weight: bold;
    text-decoration-thickness: 3px;
    padding-bottom: 3rem;
    padding-top: 3rem;
}
.tabel-prices tbody tr:has(:not(.section-title)){
    border-bottom: 1px solid #2f2e4154;
    height: 80px;

}
.tabel-prices tbody td:not(:nth-child(1)){
    text-align: center;
}
.tabel-prices tbody td i{
    font-size: 2rem;
    color: var(--primary-color);
}
.tabel-prices tbody td:nth-child(1){
    display: none;
}
.tabel-prices tbody td.section-title{
    display: table-cell;
}
.tabel-prices thead th{
    width: 33%;
}
@media (min-width: 1200px) {
    .tabel-prices thead th{
        width: unset;
    }
    .tabel-prices tbody td:nth-child(1){
        display: table-cell;
    }
    .tabel-prices th{
        min-width: 300px;
    }
}

.tabel-prices .icon{
    position: relative;
}
.tabel-prices .icon i{
    color: var(--primary-color);
    font-size: 2.5rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -20px;
}
/* .tabel-prices .icon i{
    color: var(--primary-color);
    font-size: 2.5rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 40px;
} */
:root {
    --container: 1320px;
}

.offset-custom {
    /* Adjust the left margin for the left column to start its content from a desired position (considering a 12-column grid) */
    margin-left: calc((100% - var(--container)) / 2);
    
    /* Control the maximum width of the left column content */
    max-width: calc(var(--container) / 12 * 6);
}
.section-gains i{
    color: var(--primary-color);
    font-size: 3rem;
    transition: 0.3s all;
}
.section-gains .flex-column:hover i{
    transform: scale(1.2);
    
}
.section-gains .flex-column:hover span{
    color: var(--primary-color);
}

.section-gains span{
    font-size: 1.5rem;
    font-weight: bold;
    transition: 0.3s all;

}
.section-gains p{
    color: #747474;
}
.accordion-button:not(.collapsed){
    background-color: white;
    color: var(--primary-color);
}
.accordion-button {
    font-weight: bold;
}
.accordion-button:focus, form input:focus,  textarea:focus{
    box-shadow: 0 0 0.1rem var(--primary-color) !important;
}
form input:focus, textarea:focus{
    border-color: var(--primary-color) !important;
}
.case-study{
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    transition: 0.6s all;
    box-sizing: border-box;
    margin-top: 20px;
}
.case-study i {
    color: var(--primary-color);
    margin: 5px auto;
    font-size: 4rem;
}
.case-study.active, .case-study:hover{
    background-color: var(--primary-color);
}
.case-study.active p, .case-study.active i, .case-study.active li, .case-study.active li::before,
.case-study:hover p, .case-study:hover i, .case-study:hover li, .case-study:hover li::before{
    color: white;
}
footer ul {
    list-style-type: none;
    padding: 0;
}
footer h3{
    padding-bottom: 1rem;
}
footer i{
font-size: 1.5rem;
padding-right: 1rem;
}
footer a{
    color: inherit;
}
  /* Loader Styles */
#page-loader {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.dropdown-item:hover, .dropdown-item.active{
    background-color: var(--primary-color);
    color: white;
}
.subpage-header{
    margin-top: 130px;
    padding-top: 65px;
    padding-bottom: 65px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    background-color: #F1F1F5;
}
.subpage-header  *{
    z-index: 10;
}
/* .subpage-header::before {
    content: '';
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
} */
.subpage-header h1{
    color: #2F2E41;
    font-weight: bold;
    text-transform: uppercase;

}
ul.bullet-list{
    padding-left: 2rem;
}
ul.bullet-list li::marker{
    color: var(--primary-color);
}
.google-contact{ 
    height: 650px;
    max-width: 100%;
}

.alpha {
    list-style-type: upper-alpha;
    padding-left: 2rem;
}
ol{
padding-left: 2rem !important;
}
.floating-buttons{
    position: fixed;
    right: 2px;
    bottom: 2px;
    z-index: 2000;
}
.floating-buttons .icon-widget{
    background-color: white;
    border-radius: 50%;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    width: 70px;
    height: 70px;
    transition: 0.2s all;
}
.floating-buttons .icon-widget:focus, .floating-buttons .icon-widget:hover{
    background-color: var(--primary-color);
}
.floating-buttons .icon-widget:focus i, .floating-buttons .icon-widget:hover i{
    color: white;
    font-size: 2.3rem;
}
.floating-buttons .icon-widget i{
    font-size: 2.2rem;
    color: var(--primary-color);
    transition: 0.2s all;
}
.nav-item{
    align-content: center;
}
.nav-item i{
    color: var(--primary-color);
}
.nav-item:hover  i{
    color: white;
}
.nav-item.contact-phone{
    padding-left: 50px;
}
@media (max-width: 576px) {
    
    .nav-item.contact-phone{
        padding-left: 0;
    }
}