body {
  background-color: #fff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.text-main {
  color: #5170ff !important;
}

.btn-main {
    background-color: #5170ff;
    color: #fff;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 0.375rem;
  transition: background-color 0.3s;
}

.btn-main:hover {
  background-color: #8da2ff;
  color: #fff;
}

.custom-bg {
  background-color: #fff;
}
.bg-dark:before {
content: "";
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
    background: rgb(0 0 0 / 30%);
}
.banner h1, .section-hero-dark h2 {
    color: #5170ff;
}
.banner h1 {
    text-shadow: 1px 1px 3px #0000009e;
}
.position-relative {
position: relative;
}

.banner {
  height: 90vh;
    background-image: url('/img/fon1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.section-growth {
  background-color: #fff;
}

.section-growth h2 {
  font-size: 2rem;
}

.section-growth p {
  font-size: 1.1rem;
  line-height: 1.6;
}
.section-services {
  background-color: #fff;
}


.service-box p {
  font-size: 1rem;
  line-height: 1.5;
}
.section-services-two-col {
  background-color: #fff;
}

.icon-check {
  font-size: 2.5rem;
  color: #5170ff;
}
.section-hero-dark {
  background-image: url('/img/fon2.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 80vh;
  position: relative;
  overflow: hidden;
}

.section-hero-dark .overlay {
  background-color: rgba(0, 0, 0, 0.5);
}

.section-hero-dark h1,
.section-hero-dark p {
  color: #fff;
}
.section-contact-form {
  background-color: #fff;
}


.form-label {
  font-weight: 500;
}

input.form-control {
  border-radius: 0.375rem;
  border: 1px solid #ccc;
}
.footer {
  background-color: #5170ff;
  font-size: 0.95rem;
}

.footer i {
  font-size: 1.2rem;
  color: #ffffff;
}
.podag {
    font-size: 1.5rem;
    font-weight: 300;
    background: #ffffffd4;
    width: max-content;
    margin: 0 auto;
    padding: 0 10px 4px;
    border-radius: 10px;
}
.form-wrapper .btn-main {
    background-color: #5170ff;
    color: #fff;
}
.img-cropped {
height: 500px; 
object-fit: cover;
object-position: center;
width: 100%;
}
.allsoc a {
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
background: #fff;
float: left;
margin-right: 8px;
border-radius: 50%;
font-size: 22px;
color: #fff;
}

.allsoc a.link-inst {
background: radial-gradient(circle farthest-corner at 35% 90%, #fec564, transparent 50%), radial-gradient(circle farthest-corner at 0 140%, #fec564, transparent 50%), radial-gradient(ellipse farthest-corner at 0 -25%, #5258cf, transparent 50%), radial-gradient(ellipse farthest-corner at 20% -50%, #5258cf, transparent 50%), radial-gradient(ellipse farthest-corner at 100% 0, #893dc2, transparent 50%), radial-gradient(ellipse farthest-corner at 60% -20%, #893dc2, transparent 50%), radial-gradient(ellipse farthest-corner at 100% 100%, #d9317a, transparent), linear-gradient(#6559ca, #bc318f 30%, #e33f5f 50%, #f77638 70%, #fec66d 100%);
}
.allsoc a.link-tik {
background-color: #000;
}
.allsoc a.link-yout {
background-color: #ff0000;
}

/* STAT */

.stat-block {
  height: 350px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* обертка */
.stat-overlay {
  height: 100%;                /* растягиваем по высоте */
  width: 100%;                 /* чтобы заняла всю ширину */
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 20px;
  border-radius: 20px;
  color: #fff;
  display: flex;               /* чтобы текст можно было выровнять */
  flex-direction: column;
  justify-content: center;
  transition: 0.3s;
}

.stat-overlay:hover {
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: 0.3s;
}



.stat-number {
  font-size: 20px;
  font-weight: bold;
  position: relative;
      line-height: 24px;
    text-shadow: 1px 1px 6px #00000094;
}
.stat-subtitle ul {
    text-align: left;
        list-style: none;
    padding-left: 0;
}
ul.minus li i {
    color: red;
}
ul.plus li i {
    color: rgb(0, 230, 38);
}
.stat-subtitle {
  font-size: 16px;
  margin-top: 10px;
  position: relative;
}
h3.podzag {
    width: 80%;
    margin: 0 auto 20px;
    text-align: center;
}
.allgarant {
    display: block;
    height: auto;
    width: 92%;
    float: left;
}

.slider-img {
  height: 420px;           /* фиксированная высота */
  object-fit: cover;       /* обрезает и вписывает картинку */
}


/* STAT */

.onesert {
    max-width: 32%;
    flex: 0 0 32%;
}

.allsert {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.onesert img {
    height: 380px;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

@media (max-width: 768px) {
.row.rewrow {
flex-direction: column-reverse;
}
.mb-4.mob-mt20 {
    margin-top: 20px;
    margin-bottom: 0 !important;
}
.img-cropped {
    height: 320px;
}
.podag {
    width: auto;
    font-size: 1rem;
}
.banner {
height: 75vh;
}
.onesert img {
    height: 140px;
}
.onesert {
    max-width: 47%;
    flex: 0 0 47%;
}
.slider-img {
    height: 316px;
}
img.logoimg {
    width: 150px;
}
}
