body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
    padding-top: 80px; 
}
body, main {
    margin: 0;
    padding: 0;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.Blobs1{
    display: none;
}


section {
    padding: 40px 0;
}

h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #333;
    font-weight: 900;
}
.about-p{
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.2em;
}
.about .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about-left {
    flex: 1;
}

.about-right {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: 200px;
}

.about-right img {
    max-width: 50%; 
    height: auto;
    margin-bottom: 20px;
    margin-left: 500px;
}
.inst {
    display: flex;
    align-items: left;
    justify-content: left;
    margin-top: 10px 0;
    margin-bottom: 0;
}

.inst img {
    margin-right: 10px;
} 

.animated-arrows {
    display: flex;
    justify-content: left;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 70px;
}

.animated-arrows i {
    color: #4CAF50; 
    font-size: 24px;
    margin: 0 5px;
    animation: bounce 1.5s infinite;
}

.animated-arrows i:nth-child(2) {
    animation-delay: 0.3s;
}

.animated-arrows i:nth-child(3) {
    animation-delay: 0.6s;
}

.about img, .gallery-grid img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.inst{
    display: flex;
    height: 30px;
    width: 30px;
    
}
.inst span{
    margin: 10px;
    font-size: 1.1em;
}

.services-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.service {
    flex: 1;
    margin: 10px;
    text-align: center;
}

.service i {
    font-size: 50px;
    margin-bottom: 10px;
}



.map-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    border-radius: 15px; 
}

.responsive-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 15px;
}
/* Підвал */
footer {
    background-color: white;
    color: #333;
    text-align: center;
    padding: 20px 0;
    margin-top: 10px;
}
ul{
    list-style-type:none;
}
footer a {
    color: #4CAF50;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}


@media (max-width: 768px) {
    .about-right {
        position: absolute;
        top: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-left: 0px;

    }
    .about-right img {
        max-width: 30%;
        margin-left: 10px;
    }
    .Blobs1{
        display: none;
    }
    .Blobs2{
        display: none;
    }
    .services-grid {
        flex-direction: column;
        align-items: center;
    }

    .service {
        width: 100%;
        max-width: 300px;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}