.service-img_1 {
    position: relative;
    width: 100%;
    height: 350px; 
    overflow: hidden;
    border-radius: 14px; 
    margin-top: 10px;
    margin-bottom: 10px;
}


.service-img_1 img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    left: 0;
    top: 0;
    transform: scale(1.0);
    transition: .5s;
}

.service-img_1:hover img
{transform: scale(1.1);
transition: .5s;}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); 
    z-index: 2;
}


.service-img_1 h3 {
    position: absolute;
    z-index: 5;
    left: 40px; 
    top: 50px;  
    margin: 0;
    color: #ffffff;
    font-size: 22px; 
    font-weight: 700;
    line-height: 1.2;
    max-width: 70%; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); 
}

.service-img_1 p 
{position: absolute;
background:transparent;
display: block;
color: #ffffff;
cursor: pointer;
font-size: 18px;
z-index: 5;
right: 40px; 
top: 70%; }

.fd 
{font-size:24px !important;
margin-left: 15px;}

.document {
    margin: 30px;
    overflow: hidden; 
    border-radius: 8px; 
}

.document img {
    width: 100%;
    height: auto;
    display: block;
    transition: filter 0.3s ease; 
    filter: blur(0.7px);    
    
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.design {
    background: #ffffff;
    margin-bottom: 30px;
    padding: 20px; 
    height: calc(100% - 30px); 
    display: flex;
    flex-direction: column; 
    transition: transform 0.3s ease;
}


.design .img {
    width: 100%;
    height: 250px; 
    overflow: hidden;
    margin-bottom: 20px;
}


.design .img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover; 
    object-position: center;
    display: block;
}


.design h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;   
}


.design p {
    flex-grow: 1; 
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}


.design button.md-trigger {
    align-self: flex-start; /* Кнопка прижата к левому краю */
    background: none;
    border: 1px solid #ccc;
    padding: 2px 2px;
    cursor: pointer;
    width: 100%;
}

.design button.md-trigger a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.compcontacts 
{position:absolute;
display: flex;
align-items:flex-start;
flex-direction:column;
justify-content: center;
z-index: 5;
left: 2%;
top:1%;
padding: 10px 15px;
width: 420px;
height: 420px;
box-shadow: 0px 20px 40px -10px rgba(34, 60, 80, 0.25);
margin-bottom: -400px;
background: #ffffff;}



.compcontacts p {
  display: flex;            
  align-items: flex-start; 
  margin-bottom: 20px;
  text-align: left;
}

.compcontacts img {
  flex-shrink: 0;         
  margin-right: 12px; 
  margin-bottom: 0; 
  margin-top: 4px;          
}

.compcontacts img
{margin-bottom: -10px;
margin-right: 7px;}

.map 
{position: relative;
z-index:3;}


@media (max-width: 768px) {

.banner h1.element-animation3
{top: 2%;}


    .service-img_1 h3 {
        font-size: 22px;
        left: 20px;
        top: 30px;
    }
    .service-img_1 {
        height: 250px;
    }

.compcontacts 
{position:relative;
display: flex;
align-items:flex-start;
flex-direction:column;
justify-content: center;
z-index: 5;
left:1%;
top:1%;
padding: 10px 15px;
width:100%;
height: 420px;
box-shadow: 0px 20px 40px -10px rgba(34, 60, 80, 0.25);
margin-bottom:0px;
background: #ffffff;}


}