* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "PT Sans", sans-serif;
    margin: 0;
    padding: 0;
}

.img{
    width: 100%;
    height: auto;
}

.mb{
    margin-bottom: 100px;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
    text-decoration: none;
}

p{
    margin: 0px 0px 15px 0px;
}

.container {
    max-width: 1300px;
}

.container {
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.menu{
    display: none;
}

.header {
    position: fixed;
    width: 100%;
    padding: 10px 0;
    z-index: 1000;
    box-shadow: 0 0 7px 2px rgba(0, 0, 0, .1);
    background: #FFFFFF;
}

.header_body{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0px;
}

.header_menu ul{
    display: flex;
    align-items: center;
}

.header_menu li{
    margin-right: 40px;
}

.header_menu a{
    color: #151515;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    transition: 1s;
}

.header_menu a:hover{
    text-decoration: underline;
    color: #2E486A;
}

.header_tel a{
    display: flex;
    align-items: center;
    gap: 10px;
}

.pd {
    padding-top: 42px;
}


.header_tel span{
    color: #2E486A;
    font-size: 16px;
    font-weight: 700;
}

.header_tel span:hover{
    text-decoration: underline;
}

.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 1000;
}

.banner_block{
    background: linear-gradient(to right, #DEE2E6 0%, #F5F7F9 100%);
    width: 100%;
    padding: 40px 0px;
}

.banner_content{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.banner_item{
    width: 48%;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.banner_img{
    width: 48%;
}

.banner_title{
    color: #3A3A3A;
    font-size: 54px;
    font-weight: 700;
}

.banner_text{
    color: #555555;
    font-size: 24px;
    font-weight: 400;
    width: 90%;
}

.banner_item button{
    background: #2E486A;
    border-radius: 16px;
    border: 0;
    padding: 17px 30px;
    color: #FFFFFF;
    font-size: 17px;
    font-weight: 700;
}

.line{
    position: relative;
    padding-bottom: 20px;
}

.line:before{
    position: absolute;
    content: "";
    left: 46.5%;
    bottom: 0;
    width: 89px;
    height: 4px;
    background: #3A3A3A;
    transition: .5s;
}

.lined{
    position: relative;
    padding-bottom: 20px;
}

.lined:before{
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    width: 37px;
    height: 2px;
    background: #FFFFFF;
    transition: .5s;
}

.uslugi_title{
    color: #3A3A3A;
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
}

.uslugi_flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 25px;
}

.uslugi_img {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
}

.uslugi_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.uslugi_img .uslugi_item {
  position: absolute;
  inset: 0; /* top, right, bottom, left = 0 */
  background: linear-gradient(to bottom, rgba(255,255,255,0.1) 0%, rgba(15,23,42,0.7) 100%);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: background 0.4s ease;
}

.uslugi_img .uslugi_item .uslugi_name {
  color: #fff;
  margin: 0;
  transform: translateY(0);
  transition: transform 0.4s ease;
  font-size: 22px;
  font-weight: 700;
}

.uslugi_img:nth-child(3) .uslugi_item .uslugi_name {
    color: #fff;
    margin: 0;
    transform: translateY(0);
    transition: transform 0.4s ease;
    font-size: 22px;
    font-weight: 700;
    position: relative;
    top: 40px;
}

.uslugi_img:nth-child(3):hover .uslugi_item .uslugi_name {
    color: #fff;
    margin: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    font-size: 22px;
    font-weight: 700;
    position: relative;
    top: 0;
}

.uslugi_img:nth-child(4) .uslugi_item .uslugi_name {
    color: #fff;
    margin: 0;
    transform: translateY(0);
    transition: transform 0.4s ease;
    font-size: 22px;
    font-weight: 700;
    position: relative;
    top: 77px;
}

.uslugi_img:nth-child(4):hover .uslugi_item .uslugi_name {
    color: #fff;
    margin: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    font-size: 22px;
    font-weight: 700;
    position: relative;
    top: 0;
}

.uslugi_img:nth-child(5) .uslugi_item .uslugi_name {
    color: #fff;
    margin: 0;
    transform: translateY(0);
    transition: transform 0.4s ease;
    font-size: 22px;
    font-weight: 700;
    position: relative;
    top: 77px;
}

.uslugi_img:nth-child(5):hover .uslugi_item .uslugi_name {
    color: #fff;
    margin: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    font-size: 22px;
    font-weight: 700;
    position: relative;
    top: 0;
}

.uslugi_img:nth-child(6) .uslugi_item .uslugi_name {
    color: #fff;
    margin: 0;
    transform: translateY(0);
    transition: transform 0.4s ease;
    font-size: 22px;
    font-weight: 700;
    position: relative;
    top: 60px;
}

.uslugi_img:nth-child(6):hover .uslugi_item .uslugi_name {
    color: #fff;
    margin: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    font-size: 22px;
    font-weight: 700;
    position: relative;
    top: 0;
}

.uslugi_img:nth-child(7) .uslugi_item .uslugi_name {
    color: #fff;
    margin: 0;
    transform: translateY(0);
    transition: transform 0.4s ease;
    font-size: 22px;
    font-weight: 700;
    position: relative;
    top: 18px;
}

.uslugi_img:nth-child(7):hover .uslugi_item .uslugi_name {
    color: #fff;
    margin: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    font-size: 22px;
    font-weight: 700;
    position: relative;
    top: 0;
}

.uslugi_img:nth-child(8) .uslugi_item .uslugi_name {
    color: #fff;
    margin: 0;
    transform: translateY(0);
    transition: transform 0.4s ease;
    font-size: 22px;
    font-weight: 700;
    position: relative;
    top: 40px;
}

.uslugi_img:nth-child(8):hover .uslugi_item .uslugi_name {
    color: #fff;
    margin: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    font-size: 22px;
    font-weight: 700;
    position: relative;
    top: 0;
}

.uslugi_img .uslugi_item .uslugi_text {
  color: #fff;
  margin-top: 5px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.uslugi_img:hover img {
  transform: scale(1.05);
}

.uslugi_img:hover .uslugi_item {
  background: linear-gradient(to bottom,rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 1) 100%);
}

.uslugi_img:hover .uslugi_item .uslugi_name {
  transform: translateY(-15px);
}

.uslugi_img:hover .uslugi_item .uslugi_text {
  opacity: 1;
  transform: translateY(0);
}

.uslugi_img:nth-child(1) {
    width: 48%;
}

.uslugi_img:nth-child(2){
    width: 48%;
}


.about_img{
    width: 45%;
}

.about_item {
    width: 48%;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.about_block{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about_title{
    color: #3A3A3A;
    font-size: 40px;
    font-weight: 700;
}

.about_text{
    color: #555555;
    font-size: 18px;
    font-weight: 400;
}

.about_item button{
    color: #FFFFFF;
    font-size: 17px;
    font-weight: 700;
    background: #2E486A;
    border-radius: 16px;
    padding: 16px 35px;
    border: 0;
    cursor: pointer;
}

.content_title{
    color: #3A3A3A;
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
}

.content_block{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.content_name{
    color: #3A3A3A;
    font-size: 22px;
    font-weight: 700;
    width: 50%;
}

.content_text{
    color: #3A3A3A;
    font-size: 16px;
    font-weight: 400;
}

.content_item{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 15px;
}

.otzyv_title{
    color: #3A3A3A;
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
}

.otzyv_item {
    border-radius: 16px;
    border: 1px solid #D9D9D9;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.otzyv_name{
    color: #3A3A3A;
    font-size: 24px;
    font-weight: 700;
}

.otzyv_text{
    color: #555555;
    font-size: 18px;
    font-weight: 400;
}

.otzyv_img{
    width: 100%;
    display: flex;
    background: #DEE2E6;
    justify-content: center;
    border-radius: 16px;
    padding: 20px;
}

/* Общие стрелки */
.custom-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1;
  padding: 0;
}

.custom-arrow img {
  width: 24px; /* или нужный размер */
  height: auto;
  transition: filter 0.3s;
}

/* Активное состояние — при клике */
.custom-arrow.active img {
  filter: brightness(0) saturate(100%) invert(22%) sepia(59%) saturate(1821%) hue-rotate(196deg) brightness(95%) contrast(91%);
  /* пример: делает стрелку синим оттенком, можно заменить на fill, если SVG */
}

.banner_subtitle{
    color: #3A3A3A;
    font-size: 28px;
    font-weight: 700; 
}

.custom-arrow svg {
  transition: fill 0.3s;
}

.custom-arrow:hover svg {
  fill: #2E486A; /* цвет при наведении */
}

.prays_title{
    color: #3A3A3A;
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
}

.prays_text{
    margin-bottom: 30px;
}

.prays_text li{
    text-align: center;
    color: #555555;
    font-size: 20px;
    font-weight: 400;
}

.prays_subtitle{
    text-align: center;
    color: #2E486A;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.prays_item {
    background: #DEE2E6;
    border-radius: 16px;
    border: 0;
    padding: 50px 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.prays_item:hover {
    background: #2E486A;
}

.prays_item:hover .prays_name {
    color: #FFFFFF;
}

.prays_item:hover .prays_opis {
    color: #FFFFFF;
}

.prays_item:hover .prays_price {
    color: #FFFFFF;
}

.prays_name{
    color: #3A3A3A;
    font-size: 32px;
    font-weight: 700;
}

.prays_opis{
    color: #3A3A3A;
    font-size: 23px;
    font-weight: 400;
}

.prays_price{
    color: #3A3A3A;
    font-size: 32px;
    font-weight: 700;
}

.prays_item button{
    color:#2E486A;
    border: 1px solid #2E486A;
    border-radius: 16px;
    padding: 17px 30px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

.prays_item:nth-child(2){
    position: relative;
    bottom: 20px;
    z-index: 1;
}

.prays_item:nth-child(3){
    position: relative;
    bottom: 40px;
}

.prays_item:nth-child(4){
    position: relative;
    bottom: 60px;
    z-index: 1;
}

.prays_item:nth-child(5){
    position: relative;
    bottom: 80px;   
}

.prays_item button:hover {
    transition: 0.2s;
    box-shadow: 0 0 2rem #FFFFFF;
}

.dop_text{
    margin-bottom: 30px;
}

.dop_text li{
    text-align: center;
    color: #555555;
    font-size: 20px;
    font-weight: 400;
}

.dop_subtitle{
    text-align: center;
    color: #2E486A;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.dop_item {
    background: #DEE2E6;
    border-radius: 16px;
    border: 0;
    padding: 50px 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dop_item:hover {
    background: #2E486A;
}

.dop_item:hover .dop_name {
    color: #FFFFFF;
}

.dop_item:hover .dop_opis {
    color: #FFFFFF;
}

.dop_item:hover .dop_price {
    color: #FFFFFF;
}

.dop_name{
    color: #3A3A3A;
    font-size: 32px;
    font-weight: 700;
    width: 60%;
}

.dop_opis{
    color: #3A3A3A;
    font-size: 23px;
    font-weight: 400;
}

.dop_price{
    color: #3A3A3A;
    font-size: 32px;
    font-weight: 700;
}

.dop_item button{
    color:#2E486A;
    border: 1px solid #2E486A;
    border-radius: 16px;
    padding: 17px 30px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

.dop_item:nth-child(2){
    position: relative;
    bottom: 20px;
    z-index: 1;
}

.dop_item:nth-child(3){
    position: relative;
    bottom: 40px;
}

.dop_item:nth-child(4){
    position: relative;
    bottom: 60px;
    z-index: 1;
}

.dop_item:nth-child(5){
    position: relative;
    bottom: 80px;   
}

.dop_item:nth-child(6){
    position: relative;
    bottom: 100px;  
    z-index: 1; 
}

.dop_item:nth-child(7){
    position: relative;
    bottom: 120px;  
}

.dop_item button:hover {
    transition: 0.2s;
    box-shadow: 0 0 2rem #FFFFFF;
}

.section{
    width: 100%;
    position: relative;
}

.section img{
    filter: brightness(0.5);
}

.section_block {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 1;
}

.section_item{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 30px;
}

.section_title{
    color: #FFFFFF;
    font-size: 40px;
    font-weight: 700;
}

.section_text{
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 400;
}

.section_item button{
    color: #FFFFFF;
    font-size: 17px;
    font-weight: 700;
    background: #2E486A;
    border-radius: 16px;
    padding: 16px 35px;
    border: 0;
    cursor: pointer;
}

.our_title{
    color: #3A3A3A;
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
}

.our_block{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
}

.our_name{
    color: #3A3A3A;
    font-size: 24px;
    font-weight: 700;
    width: 91%; 
}

.ourline{
    position: relative;
    padding-bottom: 20px;
}

.ourline:before {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #3A3A3A;
    transition: .5s;
}

.our_item img{
    margin-bottom: 20px;
}

.contact_block{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F3F3F3;
    border-radius: 16px;
}

.contact_img{
    width: 45%;
    border-radius: 16px;
    position: relative;
}

.contact_content{
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 1;
    height: 100%;
}

.contact_item{
    display: flex;
    padding: 60px;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    justify-content: space-between;
}

.contact_name{
    color: #999999;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
}

.contact_text{
    color: #FFFFFF;
    font-size: 22px;
    font-weight: 400;
}

.contact_add a{
    color: #FFFFFF;
    font-size: 22px;
    font-weight: 400; 
}

.contact_add:nth-child(2) a{
    color: #FFFFFF;
    font-size: 30px;
    font-weight: 400;
}

.contact_add a:hover{
    color: #2E486A;
    text-decoration: underline;
}

.filter{
    filter: brightness(0.4);
}

.contact_consult {
    width: 52%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.contact_title{
    color: #3A3A3A;
    font-size: 42px;
    font-weight: 700;
}

.contact_subtitle{
    color: #555555;
    font-size: 19px;
    font-weight: 400;
    width: 80%;
}

input{
    border: 1px solid #B2B0B0;
    border-radius: 16px;
    background: #F3F3F3;
    padding: 10px 16px;
    font-family: "PT Sans", sans-serif;
}

.contact_form{
    margin-bottom: 20px;
}

.close{
    color: #2E486A;
    font-size: 17px;
    font-weight: 700;
    background: #fff;
    border-radius: 16px;
    padding: 16px 35px;
    border: 1px solid #B2B0B0;
    cursor: pointer;
    }

.contact_btn button {
    color: #FFFFFF;
    font-size: 17px;
    font-weight: 700;
    background: #2E486A;
    border-radius: 16px;
    padding: 16px 35px;
    border: 0;
    cursor: pointer;
}

.modal_btn {
    color: #FFFFFF;
    font-size: 17px;
    font-weight: 700;
    background: #2E486A;
    border-radius: 16px;
    padding: 16px 35px;
    border: 0;
    cursor: pointer;
}

.modal_btn:hover {
    transition: 0.2s;
    box-shadow: 0 0 2rem #2E486A;
    cursor: pointer;
}

.close:hover{
    transition: 0.2s;
    box-shadow: 0 0 2rem #B2B0B0;
    cursor: pointer;
    }

.contact_soc_title{
    color: #555555;
    font-size: 24px;
    font-weight: 400; 
}

.info_block{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.info_item{
    width: 48%;
}

.info_img{
    width: 45%;
}

.info_title{
    color: #3A3A3A;
    font-size: 40px;
    font-weight: 700;  
    margin-bottom: 20px;
}

.info_text{
    color: #555555;
    font-size: 18px;
    font-weight: 400;  
}

footer{
    background: #EDEDED;
    padding: 30px 0px;
}

.footer_body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #CBCBCB;
    padding-bottom: 30px;
}

.footer_item{
    color: #555555;
    font-size: 16px;
    font-weight: 400; 
    padding-top: 30px;
}

.banner_item button:hover {
    transition: 0.2s;
    box-shadow: 0 0 2rem #2E486A;
    cursor: pointer;
}

.about_item button:hover {
    transition: 0.2s;
    box-shadow: 0 0 2rem #2E486A;
}

.section_item button:hover {
    transition: 0.2s;
    box-shadow: 0 0 2rem #2E486A;
}

.contact_btn button:hover {
    transition: 0.2s;
    box-shadow: 0 0 2rem #2E486A;
}

.contact_social img:hover {
    transition: 0.2s;
    box-shadow: 0 0 2rem #2E486A;
}

.inst:hover{
    transition: 0.2s;
    box-shadow: 0 0 2rem #D3406E;
}

.gis:hover{
    transition: 0.2s;
    box-shadow: 0 0 2rem #1FAF58;
}

.wa:hover{
    transition: 0.2s;
    box-shadow: 0 0 2rem #40D349;
}

.footer_icons img{
    border-radius: 50%;
}

.modal-dialog {
    display: flex;
    background: #EDEEF3;
}

.modal-dialog {
    display: flex;
    background: #EDEEF3;
    border-radius: 8px;
    padding: 30px;
    flex-direction: column;
    gap: 20px;
}

.contact_btn-btn{
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    }