body {
    font-family: "e-Ukraine-UltraLight", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    color: #595d60;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: #efeff6;
}
a{
    color: rgb(2, 59, 40);
    font-size: 20px;
    line-height: 24px;
    text-decoration: none;
}
a:hover{
    text-decoration: underline;
}
.nav-menu{
    height: 30px;
    position: sticky;
    top: 0;
    padding: 2px 0;
    background-color: #f8f4f3;
}
ul{
    line-height: 28px;
}
h1{
    font-weight: 300;
    font-size: 1.9em;
}
h4{
    color: #b65f5f;
}
.text-left{
    padding-left: 30px!important;
    text-align: left;
}
.container{
    margin: 0 auto;
    max-width: 1200px;
}
header, footer {
    background: #4b4a4a;
    color: white;
    padding: 10px 0;
}
.header{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 30px;
}
.header > div {
    width: 100%;
    display: flex;
    justify-content: center;
    font-weight: 300;
    font-size: 1.6em;
    line-height: 16px;
    font-family: "e-UkraineHead-UltraLight", sans-serif;
    letter-spacing: 0px;
}
.footer-block{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
.about-block{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.about-block > img, .about-block > div{
    max-width: 500px;
    text-align: left;
}
.about-block > img{
    height: 500px;
    border: 1px solid #ccc;
    border-radius: 15px;
}
.about-block > div{
    margin-left: 40px;
}
hr{
    margin-top: 40px;
}
footer{
    padding-top: 100px;
    padding-bottom: 40px;
}
.logo{
    width: 140px;
}
nav ul {
    margin: 0 auto;
    list-style: none;
    padding: 0;
}
.footer-nav ul{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.footer-nav ul li{
    margin-top: 20px;
}
.footer-nav ul li a{
    color: #ccc;
}
nav ul li {
    display: inline;
    margin: 0 30px;
}
main {
    padding: 20px;
}
.services table {
    width: 80%;
    margin: 0 auto;
    border-collapse: collapse;
}
.services th, .services td {
    border: 1px solid #ccc;
    padding: 10px;
}
.service-name{
    font-weight: 600;
}
.slider {
    position: relative;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
}
.slides {
    display: flex;
    width: 500%;
    transition: transform 0.5s ease-in-out;
}
.slides img {
    width: 100%;
    height: 700px;
    object-fit: cover;
}
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}
.prev { 
    font-size: 30px;
    left: 70px; 
}
.next { 
    font-size: 30px;
    right: 70px;
}
#map {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
.map-container {
    width: 100%;
    max-width: 1200px;
    min-width: 330px;
    height: 600px;
    margin: 0 auto;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border: none;
}
.copyright{
    line-height: 18px;
    font-size: 12px;
    margin-top: 48px;
}
.scroll-to-top {
    position: fixed;
    bottom: 50px;
    right: 50px;
    width: 70px;
    height: 70px;
    background-color: #73777a;
    color: white;
    font-size: 40px;
    line-height: 60px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: opacity 0.4s, transform 0.4s;
    opacity: 0;
    visibility: hidden; 
    transform: scale(0.8);
}

.scroll-to-top:hover {
    background-color: #5e6164;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.phone-block{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.phone-block>div{
    width: 320px;
}

/* Messendger Icons */
.messenger-icons {
    margin-left: 10px;
    display: flex;
    /* justify-content: center; */
    align-items: center;
}
.messenger-icons a {
    color: #25d366;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background 0.3s;
}

.messenger-icons-footer a{
    width: 40px;
    height: 40px;
}

.messenger-icons a:hover {
    background-color: #ddd;
}
.messenger-icons svg {
    width: 30px;
    height: 30px;
}

@media (max-width: 1250px) {
    .slides img {
        height: 600px;
    }
}
@media (max-width: 1024px) {
    .header h1, .header p{
        font-size: 0.8em;
    }
    .slides img {
        height: 500px;
    }
}
@media (max-width: 768px) {
    .slides img {
        height: 300px;
    }
    .header h1{
        font-size: 0.7em;
    }
    .header p{
        font-size: 0.6em;
    }
}
@media (max-width: 480px) {
    body{font-size: 18px;}
    .slides img {
        height: 200px;
    }
    .logo, .header p{
        display: none;
    }
    .header h1{
        font-size: 0.9em;
    }
    nav ul li{
        margin: 0 15px;
    }
    .about-block > img {
        height: 300px;
        margin-bottom: 20px;
    }
    .about-block > img, .about-block > div {
        max-width: 290px;
    }
    .about-block > div {
        margin-left: 0;
    }
    .text-left {
        padding-left: 10px !important;
    }
    .map-container {
        min-width: 290px;
        height: 300px;
        margin-left: -20px;
    }
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 26px;
        line-height: 44px;
    }
    .next{right: 20px;}
    .prev{left: 20px;}
}